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 (#55836)

Signed-off-by: gengjun-git <gengjun@starrocks.com>
  • Loading branch information
gengjun-git authored Feb 18, 2025
1 parent cd1f63c commit f0b6292
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 f0b6292

Please sign in to comment.