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-4378) [Plasma] Release objects upon Create
[ https://issues.apache.org/jira/browse/ARROW-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs updated ARROW-4378:
-----------------------------------
Fix Version/s: (was: 2.0.0)
3.0.0
> [Plasma] Release objects upon Create
> ------------------------------------
>
> Key: ARROW-4378
> URL: https://issues.apache.org/jira/browse/ARROW-4378
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++ - Plasma
> Affects Versions: 0.13.0
> Reporter: Philipp Moritz
> Priority: Major
> Fix For: 3.0.0
>
>
> Similar to the way that
> {code:java}
> Get(const std::vector<ObjectID>& object_ids, int64_t timeout_ms, std::vector<ObjectBuffer>* out){code}
> releases the object when the shared_ptr<PlasmaBuffer> inside of ObjectBuffer goes out of scope, the same should happen for
> {code}
> Status Create(const ObjectID& object_id, int64_t data_size, const uint8_t* metadata,
> int64_t metadata_size, std::shared_ptr<Buffer>* data);
> {code}
> At the moment people have to remember calling Release() after they created and sealed the object and that can make the use of the C++ API cumbersome.
> Thanks to [~anuragkh] for reporting this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)