Skip to content

Commit

Permalink
Include a stack trace along with failure to flush warning (elastic#11…
Browse files Browse the repository at this point in the history
  • Loading branch information
idegtiarenko authored Jul 31, 2024
1 parent 9639ee2 commit 72b607b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2850,7 +2850,9 @@ public synchronized void afterMerge(OnGoingMerge merge) {
@Override
public void onFailure(Exception e) {
if (isClosed.get() == false) {
logger.warn("failed to flush after merge has finished");
logger.warn("failed to flush after merge has finished", e);
} else {
logger.info("failed to flush after merge has finished during shard close");
}
}

Expand Down

0 comments on commit 72b607b

Please sign in to comment.