-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29645 AsyncBufferedMutatorImpl concurrency improvement #7516
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Duo Zhang <zhangduo@apache.org> Co-authored-by: David Manning <david.manning@salesforce.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncBufferedMutatorImpl.java
Outdated
Show resolved
Hide resolved
| @Override | ||
| public synchronized void flush() { | ||
| internalFlush(); | ||
| public void flush() { |
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.
Considering that the only difference between flush and close is the one statement closed = true... is it worth creating a separate method that can be shared between the two with a parameter for whether to close?
…cBufferedMutatorImpl.java Co-authored-by: d-c-manning <67607031+d-c-manning@users.noreply.github.com>
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
No description provided.