From 0ed3ce1253d7276824493d90a8312a2c117ea1c7 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 02 Mar 2007 09:22:58 +0000
Subject: [PATCH] issue 504,505,507 : res-synchronization after restore or import

---
 opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java b/opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java
index aa6ddf5..8fb1917 100644
--- a/opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java
+++ b/opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java
@@ -163,6 +163,7 @@
      * Open Socket to the Changelog
      * Send the Start message
      */
+    shutdown = false;
     this.servers = servers;
     if (servers.size() < 1)
     {
@@ -173,6 +174,7 @@
                message, msgID);
     }
 
+    this.rcvWindow = this.maxRcvWindow;
     this.connect();
   }
 
@@ -537,7 +539,9 @@
    */
   public void stop()
   {
+    changelogServer = "stopped";
     shutdown = true;
+    connected = false;
     try
     {
       session.close();

--
Gitblit v1.10.0