From 07608669c09feb6964c2e25e98cb378d220e16bf Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 15 Jun 2009 07:19:18 +0000
Subject: [PATCH] Fix for 4052 : Ghost adds in Replication Server The clear procedure of the Replication Server was failing if several clear are done consecutively. The cause of the failure is that the dnHandler were not shutdown properly at this time. The first clear therefore seemed successful but was leaving some open DBhandler that was causing later clear to fail.
---
opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
index 7b85671..8d5d9f6 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
@@ -370,7 +370,7 @@
{
// The local RS is not initialized - take the one received
oldGenerationId =
- replicationServerDomain.setGenerationId(generationId, false);
+ replicationServerDomain.changeGenerationId(generationId, false);
}
}
@@ -546,7 +546,7 @@
// to peer server as topo message must embed valid generation id
// for our server
oldGenerationId =
- replicationServerDomain.setGenerationId(generationId, false);
+ replicationServerDomain.changeGenerationId(generationId, false);
}
}
--
Gitblit v1.10.0