7dc991b Ticket 49209 - Hang due to omitted replica lock release

Authored and Committed by tbordaz 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