Stephanie Wang created ARROW-5560: ------------------------------------- Summary: Cannot create Plasma object after OutOfMemory error Key: ARROW-5560 URL: https://issues.apache.org/jira/browse/ARROW-5560 Project: Apache Arrow Issue Type: Bug Components: C++ - Plasma Affects Versions: 0.13.0 Reporter: Stephanie Wang Fix For: 0.13.0
If the client tries to call `CreateObject` and there is not enough memory left in the object store to create it, an `OutOfMemory` error will be returned. However, the plasma store also creates an entry for the object, even though it failed to be created. This means that later on, if the client tries to create the object again, it will receive an error that the object already exists. Also, if the client tries to get the object, it will hang because the entry appears to be unsealed. We should fix this by only creating the object entry if the `CreateObject` operation succeeds. -- This message was sent by Atlassian JIRA (v7.6.3#76005)