-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-5533: [C++] [Plasma] make plasma client thread safe #4503
Conversation
This looks good to me, but it seems like there might be some related test failures in Travis. |
a5b9477
to
6249e98
Compare
Codecov Report
@@ Coverage Diff @@
## master #4503 +/- ##
=========================================
+ Coverage 88.56% 89% +0.43%
=========================================
Files 860 707 -153
Lines 108022 95256 -12766
Branches 1253 0 -1253
=========================================
- Hits 95674 84782 -10892
+ Misses 12069 10474 -1595
+ Partials 279 0 -279
Continue to review full report at Codecov.
|
@robertnishihara all travis tests pass now. I changed |
LGTM, but let's wait for the Ray test suite to pass before merging it! |
6249e98
to
c82ad93
Compare
rebased to include #4494 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fix, but I have no idea why CI failed.
@shengjun1985 that one is specific to mac and seems unrelated. |
Merging. CI failure looks unrelated to me |
There's a pr #4503 make PlasmaClient thread safe now, but in the doc there's "Note that a PlasmaClient object is not thread safe.", which causes misunderstanding. Closes #8958 from offthewall123/update_plasma_doc_PlasmaClient_ThreadSafe Authored-by: xudingyu <dingyu.xu@intel.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
There's a pr apache#4503 make PlasmaClient thread safe now, but in the doc there's "Note that a PlasmaClient object is not thread safe.", which causes misunderstanding. Closes apache#8958 from offthewall123/update_plasma_doc_PlasmaClient_ThreadSafe Authored-by: xudingyu <dingyu.xu@intel.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Make plasma client thread safe, so it's guaranteed when the PlasmaBuffer for an object destructs, the call to plasma_client.Release(object_id) is properly protected. Refer to here for background.
@robertnishihara @pcmoritz