From 5fde69a235be87ad20d48f3569eb9d0bc8e9c4e4 Mon Sep 17 00:00:00 2001
From: fdorson <fdorson@localhost>
Date: Thu, 03 Jul 2008 16:11:05 +0000
Subject: [PATCH] Roll Back changes related to issue #3314 because it seems to make the InitOnlineTest fail
---
opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java b/opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java
index 31cd19f..fc03812 100644
--- a/opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java
+++ b/opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java
@@ -697,6 +697,7 @@
}
} // For late servers
}
+
return bestServer;
}
@@ -1000,7 +1001,7 @@
try
{
rcvWindow--;
- if ((rcvWindow < halfRcvWindow) && (session != null))
+ if (rcvWindow < halfRcvWindow)
{
session.publish(new WindowMessage(halfRcvWindow));
rcvWindow += halfRcvWindow;
@@ -1195,10 +1196,9 @@
this.maxReceiveQueue = maxReceiveQueue;
this.maxSendDelay = maxSendDelay;
this.maxSendQueue = maxSendQueue;
-
- // For info, a new session with the replicationServer
- // will be recreated in the replication domain
- // to take into account the new configuration.
+ // TODO : Changing those parameters requires to either restart a new
+ // session with the replicationServer or renegociate the parameters that
+ // were sent in the ServerStart message
}
/**
--
Gitblit v1.10.0