1179c07 Ticket 49076 - To debug DB_DEADLOCK condition, allow to reset DB_TXN_NOWAIT flag on txn_begin

Authored and Committed by tbordaz 7 years ago
    Ticket 49076 - To debug DB_DEADLOCK condition, allow to reset DB_TXN_NOWAIT flag on txn_begin
    
    Bug Description:
        For debug reason it is interesting to have a new configuration ldbm backend config
        option (nsslapd-db-transaction-wait) that allows to hang on deadlock
        rather to let the server handling retries.
    
    Fix Description:
        The fix introduce a new attribute nsslapd-db-transaction-wait under
        "cn=config,cn=ldbm database,cn=plugins,cn=config".
        By default it is "off" (ldbm returns DB_DEADLOCK) and can be changed
        online.
        It is taken into account when a new transcation begin.
    
    https://pagure.io/389-ds-base/issue/49076
    
    Reviewed by: William Brown, Ludwig Krispenz
    
    Platforms tested: F23
    
    Flag Day: no
    
    Doc impact: no