Skip to content

Commit 19d3bed

Browse files
wchevreuilApache9
authored andcommitted
HBASE-23694 After RegionProcedureStore completes migration of WALProcedureStore, still running WALProcedureStore.syncThread keeps trying to delete now inexistent log files. (#1048)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 278d9fd commit 19d3bed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStore.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ public void handleCorrupted(ProcedureIterator procIter) throws IOException {
364364
throw new IOException("Failed to delete the WALProcedureStore migrated proc wal directory " +
365365
procWALDir);
366366
}
367+
store.stop(true);
367368
LOG.info("Migration of WALProcedureStore finished");
368369
}
369370

@@ -581,4 +582,4 @@ public void cleanup() {
581582
LOG.warn("Failed to clean up delete procedures", e);
582583
}
583584
}
584-
}
585+
}

0 commit comments

Comments
 (0)