diff --git a/solr/core/src/java/org/apache/solr/update/PeerSync.java b/solr/core/src/java/org/apache/solr/update/PeerSync.java index a301c6163d2..8c5b2308105 100644 --- a/solr/core/src/java/org/apache/solr/update/PeerSync.java +++ b/solr/core/src/java/org/apache/solr/update/PeerSync.java @@ -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);