brandboat commented on code in PR #19590:
URL: https://github.com/apache/kafka/pull/19590#discussion_r2073766584
##########
metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java:
##########
@@ -334,11 +334,11 @@ private void tryElection(PartitionChangeRecord record) {
targetIsr = List.of(electionResult.node);
targetElr = targetElr.stream().filter(replica -> replica !=
electionResult.node)
.collect(Collectors.toList());
- log.trace("Setting new leader for topicId {}, partition {} to
{} using ELR",
- topicId, partitionId, electionResult.node);
+ log.info("Setting new leader for topicId {}, partition {} to
{} using ELR. Previous partition:{}, change record{}",
Review Comment:
one tiny tiny nit :)
```suggestion
log.info("Setting new leader for topicId {}, partition {} to
{} using ELR. Previous partition:{}, change record: {}",
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]