Skip to content
Snippets Groups Projects
Commit 5e1ab5ab authored by Howard Chu's avatar Howard Chu
Browse files

Add CSN management

parent f1ffe007
No related branches found
No related tags found
No related merge requests found
......@@ -969,7 +969,14 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
op2.ora_e = e;
op2.o_callback = &nullsc;
if ( lo->mask & LOG_OP_WRITES ) {
slap_get_commit_csn( op, NULL, &bv );
attr_merge_one( e, slap_schema.si_ad_entryCSN, &bv, NULL );
slap_queue_csn( &op2, &bv );
}
op2.o_bd->be_add( &op2, &rs2 );
slap_graduate_commit_csn( &op2 );
entry_free( e );
return SLAP_CB_CONTINUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment