From 4fe72a4bef946169b0f50bc05bd9dc3b4b1131d3 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Fri, 14 Aug 2009 12:37:19 +0000
Subject: [PATCH] Support for External change log compatible with draft-good-ldap-changelog-04.txt , March 2003

---
 opends/src/server/org/opends/server/replication/server/ReplicationBackend.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java b/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
index b794d6a..51a69f0 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
@@ -351,7 +351,7 @@
     //This method only returns the number of actual change entries, the
     //domain and any baseDN entries are not counted.
     long retNum=0;
-    Iterator<ReplicationServerDomain> rcachei = server.getCacheIterator();
+    Iterator<ReplicationServerDomain> rcachei = server.getDomainIterator();
     if (rcachei != null)
     {
       while (rcachei.hasNext())
@@ -541,7 +541,7 @@
        Message message = ERR_REPLICATONBACKEND_EXPORT_LDIF_FAILED.get();
       throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM,message);
     }
-    Iterator<ReplicationServerDomain> rsdi = server.getCacheIterator();
+    Iterator<ReplicationServerDomain> rsdi = server.getDomainIterator();
     if (rsdi != null)
     {
       while (rsdi.hasNext())
@@ -1358,7 +1358,7 @@
     }
 
     // Walk through all entries and send the ones that match.
-    Iterator<ReplicationServerDomain> rsdi = server.getCacheIterator();
+    Iterator<ReplicationServerDomain> rsdi = server.getDomainIterator();
     if (rsdi != null)
     {
       while (rsdi.hasNext())

--
Gitblit v1.10.0