Sigma-Ma commented on code in PR #8577:
URL: https://github.com/apache/hbase/pull/8577#discussion_r4278357126
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java:
##########
@@ -1346,18 +1382,14 @@ public void testGetWhileRegionClose() throws
IOException {
threads[i].start();
}
} finally {
+ done.set(true);
+ interruptAndJoinThreads(threads);
Review Comment:
Getters now hold a fixed region reference and must observe
NotServingRegionException before cleanup. I also fixed testWritesWhileGetting
cleanup, raised bounded joins to 30 seconds, and let flushers finish normally
before using interruption as a fallback.
Added regression tests for flush failure, stop-before-start, and interrupt
preservation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]