Commit graph

7 commits

Author SHA1 Message Date
Robert Nishihara
02d4050499 Rearrange plasma files to prepare for merging into Ray. 2016-10-25 14:27:45 -07:00
Robert Nishihara
d19f7ad853 Implement plasma_release. (#42)
* Implement plasma_release, enabling clients to indicate when they are no longer using an object.

* Call plasma_release for each plasma_create call, and call plasma_release from the manager.

* Fixes.

* Create client specific contexts for plasma_store callbacks.

* More changes.

* Fixes.

* Cleanup lists of clients using objects when a client disconnects.

* Make names parallel.
2016-10-21 00:47:34 -07:00
Stephanie Wang
ddfbd70dad Plasma fetch (#36)
* Fetch objects from remote plasma instances. Includes:
  - Configurable number of retries, with a timeout per retry
  - Support for multiple-object fetch
  - Test cases (integration only)

Update ray common

Remove attempts to retry object table lookup during fetch

lint

Fix a couple valgrind errors

Fix valgrind errors

Address Robert and Philipp's comments.

* Add fix from ray common and some TODOs.

* Update ray common

* Update ray common again

* Remove unused file
2016-10-18 18:20:59 -07:00
Robert Nishihara
5ad8e145ae Allow clients to subscribe to notifications about sealed objects. (#40)
* Create libplasma_client.a in Makefile.

* Implement plasma subscribe.

* Fixes and tests.

* Buffer notifications in the Plasma store when the socket send buffer is full.

* Fix formatting.

* Turn off -Werror in Makefile.

* Fixes.

* Fix formatting.
2016-10-14 19:27:17 -07:00
Robert Nishihara
1adafee6d3 Fix signature of create_object. (#39) 2016-10-12 12:58:15 -07:00
Philipp Moritz
94ad12ff64 Get valgrind in place for plasma (#35)
* plasma store: refactor and get valgrind in place

* fix valgrind errors
2016-10-11 17:58:14 -07:00
Philipp Moritz
eabfa9ab6f Stephanie's plasma refactor (#31)
* Add Ray common as a submodule

* Convert to Ray common event loop

* Hide plasma manager state

* Interface changes

* Minor fixes: change LOG_INFO calls to LOG_DEBUG, comments, lint

* Turn off DEBUG by default and make Travis happy

* Allow processes time to clean up during Python tests

* Debugging travis...

* Plasma managers have long-lived connections per manager, not per object

* fix valgrind invalid read and cleanup

* make valgrind happy

* update store API

* put in place manager API

* fixed race condition while sending commands to plasma manager and store -- path sent by Phillip

* clang-format

* Revert "fixed race condition while sending commands to plasma manager and store -- path sent by Phillip"

This reverts commit 79e0f6e6d84f2a309b53155955b65c26c75af071.

* Use reliable socket read/writes from Ray common

* Merge data_connection and plasma_manager_connection structs

* small updates

* restore tests
2016-10-03 18:29:18 -07:00