-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26688 Threads shared EMPTY_RESULT may lead to unexpected client job down #4072
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
Conversation
|
🎊 +1 overall
This message was automatically generated. |
| } | ||
|
|
||
| @Test | ||
| public void testAdvanceTwiceOnEmptyCell() throws IOException { |
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.
Better keep this test but use two assertFalse to confirm that the second advance call will return false?
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.
Better keep this test but use two assertFalse to confirm that the second advance call will return false?
After the change, empty list will always return false. I think we could change the UT's name to testAdvanceMultipieOnEmptyCell and use an arbitrary value > 2 to assert false. What do you think?
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.
It is also fine. Just go ahead.
|
💔 -1 overall
This message was automatically generated. |
0d9b4d6 to
6dabd2e
Compare
|
💔 -1 overall
This message was automatically generated. |
https://issues.apache.org/jira/browse/HBASE-26688