Skip to content

Commit

Permalink
Shut down sync processor before parent ZKS; it uses TXN-log during pa…
Browse files Browse the repository at this point in the history
…rtial shutdown
  • Loading branch information
jonmv committed Aug 12, 2024
1 parent 13001bf commit 5d7aa33
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,18 @@ public synchronized void shutdown(boolean fullyShutDown) {
return;
}
LOG.info("Shutting down");
try {
super.shutdown(fullyShutDown);
} catch (Exception e) {
LOG.warn("Ignoring unexpected exception during shutdown", e);
}
try {
if (syncProcessor != null) {
syncProcessor.shutdown();
}
} catch (Exception e) {
LOG.warn("Ignoring unexpected exception in syncprocessor shutdown", e);
}
try {
super.shutdown(fullyShutDown);
} catch (Exception e) {
LOG.warn("Ignoring unexpected exception during shutdown", e);
}
}

}

0 comments on commit 5d7aa33

Please sign in to comment.