dd65701 Trac Ticket #345 - db deadlock return should not log error

Authored and Committed by Noriko Hosoi 11 years ago
    Trac Ticket #345 - db deadlock return should not log error
    
    https://fedorahosted.org/389/ticket/345
    
    Fix description:
    1) In the ldbm_entryrdn.c, error log level is set to
       SLAPI_LOG_BACKLDBM if DB_LOCK_DEADLOCK is returned
       from the BDB operations, otherwise set to SLAPI_LOG_FATAL.
    2) If DB_LOCK_DEADLOCK is returned in the entryrdn functions,
       retry the BDB operations up to RETRY_TIMES.
    3) The log level of ACLSUMMARY and the one of BACKLDBM were
       confused.  It was fixed in log.c.
    
    Reviewed by Rich (Thanks!!)
    
        
file modified
+1 -1