diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index 29c3a64987..6e9ec9d540 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -582,6 +582,9 @@ list_candidates( save+BDB_IDL_UM_SIZE ); if ( rc != 0 ) { + if ( rc == DB_LOCK_DEADLOCK ) + return rc; + if ( ftype == LDAP_FILTER_AND ) { rc = 0; continue;