mirror of https://github.com/apache/lucene.git
add some logging to recovery process
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369097 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3383eba7d
commit
577b895dd4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue