From 577b895dd4b7f157d8bd43a5ba6a505d9b947efd Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 3 Aug 2012 17:11:29 +0000 Subject: [PATCH] add some logging to recovery process git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369097 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java index 54fa3a8d10f..15387df19cd 100644 --- a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java +++ b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java @@ -282,6 +282,7 @@ public class RecoveryStrategy extends Thread implements SafeStopThread { // last operation at the time of startup had the GAP flag set... // this means we were previously doing a full index replication // that probably didn't complete and buffering updates in the meantime. + log.info("Looks like a previous replication recovery did not complete - skipping peer sync"); firstTime = false; // skip peersync } } @@ -350,7 +351,7 @@ public class RecoveryStrategy extends Thread implements SafeStopThread { log.info("Sync Recovery was not successful - trying replication"); } //System.out.println("Sync Recovery was not successful - trying replication"); - + log.info("Starting replication recovery"); log.info("Begin buffering updates"); ulog.bufferUpdates(); replayed = false;