Skip to content

Commit

Permalink
[hotfix][coordination] Reduce log level for suppressed failures from …
Browse files Browse the repository at this point in the history
…WARN to DEBUG.

Suppressed failures happen when the coordinator is receiving a fail() call while it is already
undergoing a failure/recovery cycle. This happens relatively frequently because of follow-up
errors triggered by the fact that the coordinator is undergoing failover.

This was previously logged with WARN level, we change it to DEBUG, because these follow-up errors
are not something that should alert the user, they are usually not relevant at all. We only output
them on DEBUG level for debugging cases.
  • Loading branch information
StephanEwen committed Jul 21, 2021
1 parent cc5c9c0 commit 798003c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public OperatorID getOperatorId() {
public void failJob(final Throwable cause) {
checkInitialized();
if (failed) {
LOG.warn(
LOG.debug(
"Ignoring the request to fail job because the job is already failing. "
+ "The ignored failure cause is",
cause);
Expand Down

0 comments on commit 798003c

Please sign in to comment.