arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Moritz (JIRA)" <>
Subject [jira] [Created] (ARROW-2386) [Plasma] Change PlasmaClient::Create API
Date Tue, 03 Apr 2018 20:02:00 GMT
Philipp Moritz created ARROW-2386:

             Summary: [Plasma] Change PlasmaClient::Create API
                 Key: ARROW-2386
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Plasma (C++)
            Reporter: Philipp Moritz

Now that the Get API is refactored in [,] we should
do the same for the Create API.


Have a MutablePlasmaBuffer class, which is returned by Create
Status Create(int64_t data_size, int64_t metadata_size, std::shared_ptr<MutablePlasmaBuffer>*
This allocates the data in shared memory, but does not associate it with the object id yet.
This way we get get rid of the Abort() call.

Move the Seal() method into the MutablePlasmaBuffer and let it return the object ID.


This is very similar to what [~pitrou] suggested here:

This message was sent by Atlassian JIRA

View raw message