mirror of https://github.com/apache/kafka.git
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:
parent
b67a3fa79d
commit
315cd83048
|
@ -2288,7 +2288,7 @@ public class ReplicationControlManager {
|
||||||
Arrays.stream(newPartInfo.elr).forEach(validationSet::add);
|
Arrays.stream(newPartInfo.elr).forEach(validationSet::add);
|
||||||
if (validationSet.size() != newPartInfo.isr.length + newPartInfo.elr.length) {
|
if (validationSet.size() != newPartInfo.isr.length + newPartInfo.elr.length) {
|
||||||
log.error("{}-{} has overlapping ISR={} and ELR={}", topics.get(topicId).name, partitionId,
|
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,
|
brokersToIsrs.update(topicId, partitionId, prevPartInfo == null ? null : prevPartInfo.isr,
|
||||||
newPartInfo.isr, prevPartInfo == null ? NO_LEADER : prevPartInfo.leader, newPartInfo.leader);
|
newPartInfo.isr, prevPartInfo == null ? NO_LEADER : prevPartInfo.leader, newPartInfo.leader);
|
||||||
|
|
Loading…
Reference in New Issue