From 589331ea7558678fcafbdc8fcabdc6cc348c46d0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 11 Aug 2016 17:27:35 +0100 Subject: [PATCH] More for ITS#8460 accesslog can alter the timestamp on contextCSN updates --- servers/slapd/overlays/accesslog.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 900bdcd46d..64e174f4c6 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1959,6 +1959,10 @@ accesslog_op_mod( Operation *op, SlapReply *rs ) return SLAP_CB_CONTINUE; /* give this a unique timestamp */ op->o_tincr++; + if ( op->o_tincr >= 1000000 ) { + op->o_tincr -= 1000000; + op->o_time++; + } } logop = accesslog_op2logop( op ); -- 2.39.5