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-23155 May NPE when concurrent AsyncNonMetaRegionLocator#updateC… #718
Conversation
…achedLocationOnError
💔 -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.
LGTM.
Question on the test.
HRegionLocation loc = | ||
getDefaultRegionLocation(TABLE_NAME, EMPTY_START_ROW, RegionLocateType.CURRENT, false) | ||
.get(); | ||
IntStream.range(0, 100).parallel() |
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.
If single-region table, will this produce a null RegionLocation? Should there be something going on in the background clearing tableCache?
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.
The updateCachedLocationOnError will produce a null RegionLocation.
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
LGTM +1 |
…achedLocationOnError (apache#718)
…achedLocationOnError (apache#718) (cherry picked from commit 9b0980f) Change-Id: I535a1d57881e3fa8f11546b938188fa2ae475aec
…achedLocationOnError