spichugi / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

ff00b07 Ticket 50117 - after certain failed import operation, impossible to replay an import operation

Authored and Committed by tbordaz 5 years ago
    Ticket 50117 - after certain failed import operation, impossible to replay an import operation
    
    Bug Description:
    	At the beginning of an import, a flag is set to mark the target backend is busy.
    	Then import tests if there are pending operations. If such operations exist the import can not proceed and fails.
    	The problem is that in such case of pending operations, the import fails without resetting the busy flag.
    	It let the backend busy (until next reboot) and prevent new import.
    
    Fix Description:
    	It needs to reset the busy flag if there are pending operations
    
    https://pagure.io/389-ds-base/issue/50117
    
    Reviewed by: Mark Reynolds, William Brown
    
    Platforms tested: F27
    
    Flag Day: no
    
    Doc impact: no