From f7f439300fb47d381b9e14fd5b4a550fba08d2e3 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Thu, 27 May 2010 09:24:42 +0000
Subject: [PATCH] Fix for issue with ECL in cookie mode: when building lastExternalChangelogCookie, we must ignore changes older than the purge date.

---
 opends/src/server/org/opends/server/replication/server/ECLServerHandler.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java b/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java
index 279bfa7..c41073b 100644
--- a/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java
@@ -738,7 +738,7 @@
           if (isPersistent ==
             StartECLSessionMsg.PERSISTENT_CHANGES_ONLY)
           {
-            newDomainCtxt.startState = rsd.getEligibleState(eligibleCN);
+            newDomainCtxt.startState = rsd.getEligibleState(eligibleCN, true);
           }
           else
           {
@@ -781,7 +781,7 @@
             }
 
             // Set the stop state for the domain from the eligibleCN
-            newDomainCtxt.stopState = rsd.getEligibleState(eligibleCN);
+            newDomainCtxt.stopState = rsd.getEligibleState(eligibleCN, true);
           }
           newDomainCtxt.currentState = new ServerState();
 

--
Gitblit v1.10.0