]> git.sur5r.net Git - openldap/commit
ITS#8444 Do not clear the pending operation when checkpointing
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 25 Aug 2017 15:25:23 +0000 (16:25 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 25 Aug 2017 15:52:13 +0000 (16:52 +0100)
commit9e156bf91467da256ade7842b03b0aa6f9b7405c
tree45e1ecdb19ab4a0379164bf72fdd6ac5c65a48ff
parent0f80e05eebfa2d25db5eb4483752cd37775adb04
ITS#8444 Do not clear the pending operation when checkpointing

When a checkpoint happens, if we remove the CSN from the pending list,
accesslog won't pass it onto the accesslog DB. But in a delta-mmr
scenario, an accesslog entry without a CSN faces a race where it might
be applied twice - that usually fails and causes a full refresh, other
times it can cause a silent desync - both are undesirable.
servers/slapd/overlays/syncprov.c