From 96d5ed5bc5d8e887d61f26cac9f64fbf2887aeb8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 13 May 2008 21:57:19 +0000 Subject: [PATCH] ITS#5465 ignore ops without queued CSNs --- servers/slapd/overlays/syncprov.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 01602a79fa..a776229b7d 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1619,6 +1619,10 @@ syncprov_op_response( Operation *op, SlapReply *rs ) sizeof(int)); si->si_sids[i] = sid; } + } else { + /* internal ops that aren't meant to be replicated */ + ldap_pvt_thread_rdwr_wunlock( &si->si_csn_rwlock ); + return SLAP_CB_CONTINUE; } /* Don't do any processing for consumer contextCSN updates */ -- 2.39.5