Skip to content

Commit

Permalink
[BugFix] Fix edit log hole error caused by JournalWriter throwing unc…
Browse files Browse the repository at this point in the history
…ached exception (backport #55836) (#56016)

Co-authored-by: gengjun-git <[email protected]>
  • Loading branch information
mergify[bot] and gengjun-git authored Feb 19, 2025
1 parent 94ed6e2 commit 09f8da2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public void startDaemon() {
protected void runOneCycle() {
try {
writeOneBatch();
} catch (InterruptedException e) {
String msg = "got interrupted exception when trying to write one batch, will exit now.";
LOG.error(msg, e);
} catch (Throwable t) {
String msg = "got exception when trying to write one batch, will exit now.";
LOG.error(msg, t);
// TODO we should exit gracefully on InterruptedException
Util.stdoutWithTime(msg);
System.exit(-1);
Expand Down

0 comments on commit 09f8da2

Please sign in to comment.