hgromer commented on code in PR #7084:
URL: https://github.com/apache/hbase/pull/7084#discussion_r2136761371
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestSnapshotProcedureConcurrently.java:
##########
@@ -136,4 +138,48 @@ public void run() {
SnapshotTestingUtils.confirmSnapshotValid(TEST_UTIL, snapshotProto,
TABLE_NAME, CF);
SnapshotTestingUtils.confirmSnapshotValid(TEST_UTIL,
snapshotOnSameTableProto, TABLE_NAME, CF);
}
+
+ @Test
+ public void testItCanEnableTableWhileSnapshotProcedureIsRunning() throws
Exception {
Review Comment:
This test fails without my changes, both procedures will run forever. This
also functions as the reproduction of the phenomenon.
For reproducibility, I manually set the table state to ENABLING, and then
kick off the EnableTableProcedure at the stage it gets stuck on (after
subprocesses finish)
--
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]