You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/09/23 09:55:00 UTC

[jira] [Updated] (ARROW-2788) [Plasma] Defining Delete semantics

     [ https://issues.apache.org/jira/browse/ARROW-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Szucs updated ARROW-2788:
-----------------------------------
    Fix Version/s:     (was: 2.0.0)
                   3.0.0

> [Plasma] Defining Delete semantics
> ----------------------------------
>
>                 Key: ARROW-2788
>                 URL: https://issues.apache.org/jira/browse/ARROW-2788
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++ - Plasma
>            Reporter: Philipp Moritz
>            Priority: Major
>             Fix For: 3.0.0
>
>
> We should define what the semantics of Plasma's Delete operation is, especially in the presence of errors (object in use is deleted, non-existing object is deleted).
> My current take on this is the following:
> Delete should be a hint to the store to delete, so if the object is not present, it should be a no-op. If an object that is in use is deleted, the store should delete it as soon as the reference count goes to zero (it would also be ok, but less desirable in my opinion, to not delete it).
> I think this is a good application of the "Defining errors away" from John Ousterhouts book (A Philosophy of Software Design).
> Please comment in this thread if you have different opinions so we can discuss!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)