From 5722eba8e33871a7d8bc6f5277992f1e26b00286 Mon Sep 17 00:00:00 2001
From: mrossign <mrossign@localhost>
Date: Tue, 22 Jan 2008 10:28:45 +0000
Subject: [PATCH] partial fix for #1302: on startup servers should wait to catchup before accepting connections

---
 opends/src/messages/messages/replication.properties |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/opends/src/messages/messages/replication.properties b/opends/src/messages/messages/replication.properties
index b0d9875..39ddbcf 100644
--- a/opends/src/messages/messages/replication.properties
+++ b/opends/src/messages/messages/replication.properties
@@ -76,8 +76,8 @@
 NOTICE_SERVER_DISCONNECT_16=%s has disconnected from this replication server
 NOTICE_NO_CHANGELOG_SERVER_LISTENING_17=There is no replication server \
  listening on %s
-NOTICE_CHANGELOG_MISSING_CHANGES_18=The replication server %s is missing some \
- changes that this server has already processed on suffix %s
+NOTICE_FOUND_CHANGELOGS_WITH_MY_CHANGES_18=Found %d replication server(s) with \
+up to date changes for suffix %s
 NOTICE_NEED_MORE_THAN_ONE_CHANGELOG_SERVER_19=More than one replication \
  server should be configured
 SEVERE_ERR_EXCEPTION_STARTING_SESSION_20=Caught Exception during initial \
@@ -85,8 +85,8 @@
 MILD_ERR_CANNOT_RECOVER_CHANGES_21=Error when searching old changes from the \
  database for base DN %s
 NOTICE_COULD_NOT_FIND_CHANGELOG_WITH_MY_CHANGES_22=Could not find a \
- replication server that has seen all the local changes on suffix %s. Going to replay \
- changes
+ replication server that has seen all the local changes on suffix %s. Found %d \
+replications server(s) not up to date. Going to replay changes
 NOTICE_COULD_NOT_FIND_CHANGELOG_23=Could not connect to any replication \
  server on suffix %s, retrying...
 NOTICE_EXCEPTION_CLOSING_DATABASE_24=Error closing changelog database %s :
@@ -261,4 +261,12 @@
  while replaying replication message : %s
 SEVERE_ERR_REPLICATION_SERVER_CONFIG_NOT_FOUND_110=The replication server \
  configuration could not be found
+DEBUG_GOING_TO_SEARCH_FOR_CHANGES_111=The replication server is late \
+regarding our changes: going to send missing ones
+DEBUG_SENDING_CHANGE_112=Sending change number: %s
+DEBUG_CHANGES_SENT_113=All missing changes sent to replication server
+SEVERE_ERR_PUBLISHING_FAKE_OPS_114=Caught exception publishing fake operations \
+for domain %s to replication server %s : %s
+SEVERE_ERR_COMPUTING_FAKE_OPS_115=Caught exception computing fake operations \
+for domain %s for replication server %s : %s
 

--
Gitblit v1.10.0