aloyszhang commented on a change in pull request #2887:
URL: https://github.com/apache/bookkeeper/pull/2887#discussion_r751029197



##########
File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieImpl.java
##########
@@ -1179,12 +1196,12 @@ public void run() {
     public int shutdown() {
         return shutdown(ExitCode.OK);
     }
-
+    private final AtomicBoolean shuttingDown = new AtomicBoolean(false);

Review comment:
       After checking again, we can't use the `shutdownTriggered`. Since if 
`triggerBookieShutdown` invokes `shutdown`, `shutdownTriggered` will use twice, 
and will block `shutdown`




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