mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
ITS#9641 Grab a new local csn for failed ops
This commit is contained in:
parent
781a6c25a7
commit
17394f380a
1 changed files with 1 additions and 1 deletions
|
|
@ -1584,7 +1584,7 @@ accesslog_response(Operation *op, SlapReply *rs)
|
|||
* Make sure we have a CSN before we release li_op_rmutex to preserve
|
||||
* ordering
|
||||
*/
|
||||
if ( BER_BVISEMPTY( &op->o_csn ) ) {
|
||||
if ( !success || BER_BVISEMPTY( &op->o_csn ) ) {
|
||||
slap_get_csn( &op2, &op2.o_csn, 1 );
|
||||
} else {
|
||||
if ( !( lo->mask & LOG_OP_WRITES ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue