-
Notifications
You must be signed in to change notification settings - Fork 1.2k
meta client thread local access. #2165
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
meta client thread local access. #2165
Conversation
be98763
to
498b5cd
Compare
Thanks for this improvement. I also noticed this issue recently, and did some similar optimization. Many other modules may benefit from this patch. |
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.
LGTM.
Thanks for your contribution!
Please recheck the Failed UTs |
Codecov Report
@@ Coverage Diff @@
## master #2165 +/- ##
==========================================
- Coverage 86.40% 86.39% -0.01%
==========================================
Files 643 643
Lines 62686 62722 +36
==========================================
+ Hits 54161 54187 +26
- Misses 8525 8535 +10
Continue to review full report at Codecov.
|
52e2391
to
bfe67fc
Compare
centos7 unit tests is killed. may due to make oom |
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.
LGTM.
…c op. (vesoft-inc#2165) Co-authored-by: trippli <trippli@tencent.com> Co-authored-by: dutor <440396+dutor@users.noreply.github.com> Co-authored-by: dangleptr <37216992+dangleptr@users.noreply.github.com>
use thread local object when access meta client cache. folly::SingletonThreadLocal supply efficient access wrapper by using pointer.