MINOR: Add missing log argument (#10262)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Tom Bentley 2021-03-09 04:46:43 +00:00 committed by GitHub
parent 6b432e48ba
commit a1fb80ffe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public final class LocalLogManager implements MetaLogManager, AutoCloseable {
}
if (nodeId != leader.nodeId()) {
log.trace("tryAppend(nodeId={}, epoch={}): the given node id does not " +
"match the current leader id of {}.", nodeId, leader.nodeId());
"match the current leader id of {}.", nodeId, epoch, leader.nodeId());
return Long.MAX_VALUE;
}
log.trace("tryAppend(nodeId={}): appending {}.", nodeId, batch);