mirror of https://github.com/apache/lucene.git
logging tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
92c1125331
commit
cd7c8221f7
|
@ -319,7 +319,7 @@ public class RecoveryStrategy extends Thread implements SafeStopThread {
|
|||
SolrQueryRequest req = new LocalSolrQueryRequest(core,
|
||||
new ModifiableSolrParams());
|
||||
core.getUpdateHandler().commit(new CommitUpdateCommand(req, false));
|
||||
log.info("Sync Recovery was successful - registering as Active");
|
||||
log.info("PeerSync Recovery was successful - registering as Active");
|
||||
// System.out
|
||||
// .println("Sync Recovery was successful - registering as Active "
|
||||
// + zkController.getNodeName());
|
||||
|
@ -348,10 +348,10 @@ public class RecoveryStrategy extends Thread implements SafeStopThread {
|
|||
return;
|
||||
}
|
||||
|
||||
log.info("Sync Recovery was not successful - trying replication");
|
||||
log.info("PeerSync Recovery was not successful - trying replication");
|
||||
}
|
||||
//System.out.println("Sync Recovery was not successful - trying replication");
|
||||
log.info("Starting replication recovery");
|
||||
log.info("Starting Replication Recovery");
|
||||
log.info("Begin buffering updates");
|
||||
ulog.bufferUpdates();
|
||||
replayed = false;
|
||||
|
@ -364,7 +364,7 @@ public class RecoveryStrategy extends Thread implements SafeStopThread {
|
|||
replay(ulog);
|
||||
replayed = true;
|
||||
|
||||
log.info("Recovery was successful - registering as Active");
|
||||
log.info("Replication Recovery was successful - registering as Active");
|
||||
// if there are pending recovery requests, don't advert as active
|
||||
zkController.publish(core.getCoreDescriptor(), ZkStateReader.ACTIVE);
|
||||
close = true;
|
||||
|
|
Loading…
Reference in New Issue