horizonzy commented on code in PR #21797:
URL: https://github.com/apache/pulsar/pull/21797#discussion_r1436216812


##########
managed-ledger/src/test/java/org/apache/bookkeeper/test/BookKeeperClusterTestCase.java:
##########
@@ -288,6 +288,7 @@ protected void stopBKCluster() throws Exception {
 
         for (ServerTester t : servers) {
             t.shutdown();
+            t.stopAutoRecovery();

Review Comment:
   I found that the problem is that the PulsarLedgerAuditorManager auditor 
election thread is blocked, so the executor can't execute the shutdown task.
   
   The root cause is why the PulsarLedgerAuditorManager election was blocked. 
In theory, if the leader shuts down, the follower should be the leader, and the 
election thread shouldn't be blocked.



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