-
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-22681 The 'assert highestUnsyncedTxid < entry.getTxid();' in Ab… #376
Conversation
…stractFWAL.append may fail when using AsyncFSWAL
Please see the comments in https://issues.apache.org/jira/browse/HBASE-22681 The newly introduced UT can not pass due to a race in LogRoller, so here we just fix the problem in AsyncFSWAL, without adding the new test, will file a new issue to add the UT and also fix the race in LogRoller. |
I see from the JIRA you mentioned you want to use Set instead of the Dequeue. Is this not the case anymore? |
🎊 +1 overall
This message was automatically generated. |
After considering I do not think we need to use a Set, just check the txid is enough. Using a TreeSet will introduce unnecessary compare operations. |
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.
So here we ensure the entry we put into the unackedAppends is always increasing.. LGTM.
…stractFWAL.append may fail when using AsyncFSWAL (#376) Signed-off-by: Zheng Hu <[email protected]>
…stractFWAL.append may fail when using AsyncFSWAL (#376) Signed-off-by: Zheng Hu <[email protected]>
…stractFWAL.append may fail when using AsyncFSWAL (#376) Signed-off-by: Zheng Hu <[email protected]>
…stractFWAL.append may fail when using AsyncFSWAL (#376) Signed-off-by: Zheng Hu <[email protected]>
…stractFWAL.append may fail when using AsyncFSWAL (apache#376) Signed-off-by: Zheng Hu <[email protected]>
…stractFWAL.append may fail when using AsyncFSWAL (apache#376) Signed-off-by: Zheng Hu <[email protected]> (cherry picked from commit b850622) Change-Id: Icce057f9b0c86caf6ca07d9f0c2c91f599693019
…stractFWAL.append may fail when using AsyncFSWAL