mirror of https://github.com/apache/kafka.git
KAFKA-17109: Reduce log message load for failed locking (#16705)
Reducing log messaging by removing stacktrace. Reviewer: Bruno Cadonna <cadonna@apache.org>
This commit is contained in:
parent
6bc7be70d7
commit
9682e63c11
|
@ -1076,7 +1076,8 @@ public class TaskManager {
|
|||
} catch (final LockException lockException) {
|
||||
// The state directory may still be locked by another thread, when the rebalance just happened.
|
||||
// Retry in the next iteration.
|
||||
log.info("Encountered lock exception. Reattempting locking the state in the next iteration.", lockException);
|
||||
log.info("Encountered lock exception. Reattempting locking the state in the next iteration. Error message was: {}",
|
||||
lockException.getMessage());
|
||||
tasks.addPendingTasksToInit(Collections.singleton(task));
|
||||
updateOrCreateBackoffRecord(task.id(), nowMs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue