2ecfe57 Run index task in ldap updater only when needed

1 file Authored by mkosek 11 years ago, Committed by rcritten 11 years ago,
    Run index task in ldap updater only when needed
    
    When LDAP updater detected an update instruction in indexing tree, it run
    an indexing task and waited until it ends. However, the task was run
    regardless of the update instruction result. This lead to unnecessary
    index tasks being defined and waited for which makes the whole LDAP
    last longer.
    
    Execute indexing task only when an index add/update instruction is
    successful.
    
    https://fedorahosted.org/freeipa/ticket/2866