From f664cbfb4c0eecbc655cc52e475649fc83ab76c0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 21 Nov 2009 06:54:58 +0000 Subject: [PATCH] Use unique IDs for fake syncrepl connections --- servers/slapd/syncrepl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index aadf33b79c..eada1d56db 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1353,6 +1353,8 @@ do_syncrepl( connection_fake_init( &conn, &opbuf, ctx ); op = &opbuf.ob_op; + /* o_connids must be unique for slap_graduate_commit_csn */ + op->o_connid = -1000 - si->si_rid; op->o_managedsait = SLAP_CONTROL_NONCRITICAL; be = si->si_be; -- 2.39.5