From 40df7f0544bd2a53d290aa35680ac85dd9e6098d Mon Sep 17 00:00:00 2001 From: Ludwig Krispenz Date: Fri, 4 Nov 2016 11:25:29 +0100 Subject: [PATCH] ticket 48999 create keep alive at end of repl init --- ldap/servers/plugins/replication/repl_extop.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ldap/servers/plugins/replication/repl_extop.c b/ldap/servers/plugins/replication/repl_extop.c index 948f38d..eaef7be 100644 --- a/ldap/servers/plugins/replication/repl_extop.c +++ b/ldap/servers/plugins/replication/repl_extop.c @@ -1298,7 +1298,12 @@ multimaster_extop_EndNSDS50ReplicationRequest(Slapi_PBlock *pb) if (cl5GetState () == CL5_STATE_OPEN) { replica_log_ruv_elements (r); + /* now that the changelog is open and started, we can alos cretae the + * keep alive entry without risk that db and cl will not match + */ + replica_subentry_check(replica_get_root(r), replica_get_rid(r)); } + /* ONREPL code that dealt with new RUV, etc was moved into the code that enables replication when a backend comes back online. This -- 2.4.3