mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
ITS#9641 Grab a new local csn for failed ops
This commit is contained in:
parent
781a6c25a7
commit
17394f380a
@ -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…
x
Reference in New Issue
Block a user