reddycharan opened a new pull request #2206: Remove lock from URManager’s state 
only if lock znode deletion has succeeded
URL: https://github.com/apache/bookkeeper/pull/2206
 
 
   
   
   
   Descriptions of the changes in this PR:
   
   - in ZkLedgerUnderreplicationManager.releaseUnderreplicatedLedger remove 
‘lock’
    from ‘heldLocks’ only if lock znode deletion has succeeded.
   - This is needed because, if RW.logBKExceptionAndReleaseLedger fails to 
delete
    the lock znode, then it needs to be tried once more in the finally block of
    'rereplicate(long ledgerIdToReplicate)’ before giving up and shutting down 
RW.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to