wenbingshen opened a new pull request, #3503:
URL: https://github.com/apache/bookkeeper/pull/3503

   ### Motivation
   this introduced in #2842, the `ledgerAuditorManager` will be close 
repeatedly.
   
   ```java
       private void submitShutdownTask() {
           executor.submit(new Runnable() {
                   @Override
                   public void run() {
                       if (!running.compareAndSet(true, false)) {
                           return;
                       }
   
                       try {
                           ledgerAuditorManager.close();   <- here has already 
closed LAM.
                       } catch (InterruptedException ie) {
                           Thread.currentThread().interrupt();
                           LOG.warn("InterruptedException while closing ledger 
auditor manager", ie);
                       } catch (Exception ke) {
                           LOG.error("Exception while closing ledger auditor 
manager", ke);
                       }
                   }
               });
       }
   ```
   


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