From 76ebd1ad82e2a1fc421519f09c62b948e9376e8a Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 06 Oct 2009 12:34:32 +0000
Subject: [PATCH] Entry attributes for ECL - Protocol V4
---
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
index cfd8337..be3237c 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
@@ -1119,6 +1119,8 @@
domain.isAssured(),
domain.getAssuredMode(),
domain.getAssuredSdLevel());
+ startSessionMsg.setEclIncludes(
+ domain.getEclInclude());
} else
{
startSessionMsg =
@@ -1943,7 +1945,7 @@
private boolean debugEnabled()
{
- return false;
+ return true;
}
private static final void debugInfo(String s)
@@ -2165,8 +2167,22 @@
rsList = topoMsg.getRsList();
}
}
+ if (domain != null)
+ {
+ for (DSInfo info : dsList)
+ {
+ for (String attr : info.getEclIncludes())
+ {
+ domain.addEclInclude(attr);
+ }
+ }
+ if (debugEnabled())
+ {
+ TRACER.debugInfo("domain: " + domain.getServiceID() +
+ " EclIncludes" + domain.getEclInclude());
+ }
+ }
}
-
/**
* Check if the broker could not find any Replication Server and therefore
* connection attempt failed.
--
Gitblit v1.10.0