lordcheng10 opened a new pull request #2970:
URL: https://github.com/apache/bookkeeper/pull/2970


   ### Motivation
   
   When the checkallledgers method is executed periodically, if an exception is 
thrown, 
   time consuming statistics status has not been updated. 
   ### Changes
   So we should update it in finally:
   
    finally {
                           LOG.info("Completed checkAllLedgers in {} 
milliSeconds", checkAllLedgersDuration);
                           
checkAllLedgersTime.registerSuccessfulEvent(checkAllLedgersDuration, 
TimeUnit.MILLISECONDS);
                       }
                   }
   
   


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