-
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-22072 High read/write intensive regions may cause long crash #214
Conversation
💔 -1 overall
This message was automatically generated. |
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java
Outdated
Show resolved
Hide resolved
Please check and fix the checkstyle issue as reported. The change itself looks good but I need some time to read and fully understand the issue and solution as discussed in HBASE-22072. Will be back once done. Thanks. |
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
Show resolved
Hide resolved
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.
Pls address the volatile comment and then we are good to go.. I think this will solve many strange issues that we were seeing with the new way of delayed compacted files cleanup. Good one.
Made the 'closing' variable to volatile. fixed checkstyle issue and moved the test to a new class. |
🎊 +1 overall
This message was automatically generated. |
Seems all good now in terms of QA. |
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
) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class
) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class
) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class
) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class
…pache#214) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class
…pache#214) * HBASE-22072 High read/write intensive regions may cause long crash recovery * Make the 'closing' variable as volatile and move the test case to standlone class (cherry picked from commit 8d56693) Change-Id: I3bd6e4f030458516aebe3c7adb96712cbef16b20
Allows either updateReaders() or close() to happen at the same time. The JIRA reporter has tested the fix provided.