SOLR-8407: We log an error during normal recovery PeerSync now.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720813 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2015-12-18 15:36:09 +00:00
parent 0e0517414c
commit 8416038b6e
1 changed files with 0 additions and 7 deletions

View File

@ -182,13 +182,6 @@ public class PeerSync {
try {
log.info(msg() + "START replicas=" + replicas + " nUpdates=" + nUpdates);
// TODO: does it ever make sense to allow sync when buffering or applying buffered? Someone might request that we
// do it...
if (!(ulog.getState() == UpdateLog.State.ACTIVE || ulog.getState() == UpdateLog.State.REPLAYING)) {
log.error(msg() + "ERROR, update log not in ACTIVE or REPLAY state. " + ulog);
// return false;
}
if (debug) {
if (startingVersions != null) {
log.debug(msg() + "startingVersions=" + startingVersions.size() + " " + startingVersions);