-
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-28184 Tailing the WAL is very slow if there are multiple peers #5505
Conversation
🎊 +1 overall
This message was automatically generated. |
fileLength = OptionalLong.empty(); | ||
} else { | ||
// if there is only one file in queue, check whether it is still being written to | ||
// we must call this before actually reading from the reader, as this method will acquire the |
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.
For branch-2.5, the way we deal with empty queue problem is different. As there is no comment before this PR, let's just add 'if there is only one file in queue, check whether it is still being written to' comment here. The comments below are for branch-2+, where we have refactored the code a lot.
🎊 +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.
+1, we also want to backport the same patch to branch-2.4?
master branch PR: #5503
branch-2 PR: #5504
branch-2.5 PR: #5505