-
Notifications
You must be signed in to change notification settings - Fork 929
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
Rft : Optimize lock for zookeeper registry #578
Rft : Optimize lock for zookeeper registry #578
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/dubbo-2.7.5 #578 +/- ##
=======================================================
+ Coverage 65.85% 65.93% +0.07%
=======================================================
Files 203 203
Lines 10558 10549 -9
=======================================================
+ Hits 6953 6955 +2
+ Misses 2935 2921 -14
- Partials 670 673 +3
Continue to review full report at Codecov.
|
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
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
What this PR does:
Which issue(s) this PR fixes:
In zookeeper client , we can see too many write lock in it. Even read operation use write lock also.
So i think read operation use read lock will better in performance.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: