-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-27498: Added logic in ConnectionImplementation.getKeepAliveMasterService to avoid expensive rpc calls in synchronized block #4889
Conversation
…on't need to make expensive rpc calls in synchronize block.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
mostly LGTM, but IMO this feature may be better to disable by default.
please also add unit tests for when it's enabled and disabled, such we use it as a regression test.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
Outdated
Show resolved
Hide resolved
I was wondering if we should just convert to AsyncAdmin. We did a similar conversion to AsyncTable in Replication recently. |
84749b0
to
e3700d1
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…e timeout is 0 i.e. legacy behavior. 2.Added integration test around new property
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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 making this change, please see if you can porting it to branch-2 as well
…erService to avoid expensive rpc calls in synchronized block (apache#4889) Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
…erService to avoid expensive rpc calls in synchronized block (#4889) Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
…erService to avoid expensive rpc calls in synchronized block (apache#4889) Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> (cherry picked from commit ccd1d8a) Change-Id: I8305168b782f70d1fe7150fe3b1c22d7bbf01b7a
No description provided.