Commit graph

11 commits

Author SHA1 Message Date
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
Robert Nishihara
d41566a499 Implement delete and contains for plasma client and store. (#28)
* Implement delete and contains for plasma client and store.

* Fix style, free object, add tests.
2016-09-23 15:07:50 -07:00
Philipp Moritz
0198a0d299 make plasma robust wrt to number of open file descriptors (#25) 2016-09-15 15:39:33 -07:00
Robert Nishihara
72361c9b44 Add metadata handling (#23)
* Automatic whitespace fixes.

* Add metadata handling.

* Make create take a buffer instead of a string for the metadata.

* Small fixes.
2016-09-14 14:20:34 -07:00
Philipp Moritz
494903c5d4 fix compiler warnings (#17) 2016-09-10 17:47:37 -07:00
Richard Shin
04737f3f56 Run clang-format and check in Travis CI (#14)
* Run clang-format and add pre-commit hook for it.

* Modify .travis.yml to check

* Try to fix problems with .travis.yml

* Try to fix .travis.yml yet again

* Update .clang-format to Philipp's preferences

* Don't allow lint to fail in Travis

* Remove git-hooks directory

* Improve clang-format failure output

* Fix clang-format error

* Report which commit clang-format is comparing against, and add whitespace error

* Handle non-PR Travis in clang-format, and add another error

* Check $TRAVIS_PULL_REQUEST correctly and add another error

* Fix syntax error in check-git-clang-format-output.sh

* Add whitespace error

* Remove extra whitespace, add clang-format to README
2016-09-08 15:28:27 -07:00
Philipp Moritz
a62c0f8fac Allow arbitrary number of connections (#13)
* refactor plasma to use an event loop

* unify comment style

* Clean up Makefile flags.

* Randomize socket names in tests so multiple copies of the tests can be run in parallel without conflict.
2016-09-07 20:19:37 -07:00
Philipp Moritz
ad1a8454d5 remove C struct duplication and python plasma manager 2016-09-05 15:37:17 -07:00
Philipp Moritz
e1627319b3 clean up tests 2016-08-22 15:35:47 -07:00
Robert Nishihara
3d6d1e8fe5 Test plasma manager. 2016-08-18 10:04:00 -07:00
Philipp Moritz
23327a18e0 add plasma manager 2016-08-17 13:01:56 -07:00