071cada Ticket 49209 - Hang due to omitted replica lock release

1 file Authored by tbordaz 6 years ago, Committed by mreynolds 6 years ago,
    Ticket 49209 - Hang due to omitted replica lock release
    
    Bug Description:
        When an operation is canceled (failure), its csn is aborted
        and removed from the pending list.
        If at that time the pending list is empty or the csn is not found
        in that list, the cancel callback forgots to release the replica lock
    
    Fix Description:
        Release replica lock systematically, whether cnsplRemove fails or not
    
    https://pagure.io/389-ds-base/issue/49209
    
    Reviewed by: Mark Reynolds (thanks Mark !!)
    
    Platforms tested: F23
    
    Flag Day: no
    
    Doc impact: no
    
    (cherry picked from commit 7dc991b16b97bacb69ddb334358e27e1220ca27b)