MINOR: remove redundant argument in log (#15699)

remove redundant argument in log

Reviewers: Luke Chen <showuon@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Kuan-Po (Cooper) Tseng 2024-04-12 08:36:33 +08:00 committed by GitHub
parent b67a3fa79d
commit 315cd83048
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2288,7 +2288,7 @@ public class ReplicationControlManager {
Arrays.stream(newPartInfo.elr).forEach(validationSet::add);
if (validationSet.size() != newPartInfo.isr.length + newPartInfo.elr.length) {
log.error("{}-{} has overlapping ISR={} and ELR={}", topics.get(topicId).name, partitionId,
Arrays.toString(newPartInfo.isr), partitionId, Arrays.toString(newPartInfo.elr));
Arrays.toString(newPartInfo.isr), Arrays.toString(newPartInfo.elr));
}
brokersToIsrs.update(topicId, partitionId, prevPartInfo == null ? null : prevPartInfo.isr,
newPartInfo.isr, prevPartInfo == null ? NO_LEADER : prevPartInfo.leader, newPartInfo.leader);