Nicklee007 commented on issue #3338:
URL: https://github.com/apache/bookkeeper/issues/3338#issuecomment-1162565252

   > You can make this time configurable via the decommission command flag / 
add logging.
   @dlg99 
   Yep, the wait time related to the config of `maxSleepTimeInBetweenChecks`.  
If we add command  parameter to change the `maxSleepTimeInBetweenChecks`, the 
users maybe could not forecast how long will it take to rereplicate completed. 
It's a risk if user set a small `maxSleepTimeInBetweenChecks` and then the 
auditor is running to do some time-consuming operation like `checkAllLedger` 
could not audit bookie immediately,will cause  check 
`areEntriesOfLedgerStoredInTheBookie` through zk too frequently and affect the 
zk server performance.
   
   The PR #3339 will judgment if the` /ledgers/underreplication/ledgers` and 
`/ledgers/underreplication/locks` is empty to help us check if the  rereplicate 
is completed, and backoff when the  auditor is running as CheckAllLedgers or 
other time-consuming operation.
   could you help me check the PR, Thx.


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