Commit 17394f38 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9641 Grab a new local csn for failed ops

parent 781a6c25
Pipeline #3429 passed with stage
in 44 minutes and 4 seconds
......@@ -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 ) ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment