kamalcph commented on code in PR #14301:
URL: https://github.com/apache/kafka/pull/14301#discussion_r1308307881


##########
storage/src/test/java/org/apache/kafka/tiered/storage/TieredStorageTestContext.java:
##########
@@ -238,7 +242,11 @@ public void stop(int brokerId) {
     }
 
     public void start(int brokerId) {
+        boolean allBrokersDead = harness.aliveBrokers().isEmpty();
         harness.startBroker(brokerId);
+        if (allBrokersDead) {
+            reinitClients();
+        }

Review Comment:
   On broker startup, this method won't be invoked. Assume that the user does 
`stop` and `start` instead of `bounce`, then we may have to reinitialise the 
clients.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to