nikramakrishnan commented on code in PR #15526:
URL: https://github.com/apache/kafka/pull/15526#discussion_r1523262442


##########
core/src/main/scala/kafka/log/LogManager.scala:
##########
@@ -1564,7 +1564,7 @@ object LogManager {
       Option(newTopicsImage.getPartition(topicId, partitionId)) match {
         case Some(partition) =>
           if (!partition.replicas.contains(brokerId)) {
-            info(s"Found stray log dir $log: the current replica assignment 
${partition.replicas} " +
+            info(s"Found stray log dir $log: the current replica assignment 
${partition.replicas.mkString("[", ", ", "]")} " +

Review Comment:
   ^ Agreed, adding the brackets outside makes it more readable.



-- 
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]

Reply via email to