mirror of https://github.com/apache/lucene.git
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:
parent
0e0517414c
commit
8416038b6e
|
@ -182,13 +182,6 @@ public class PeerSync {
|
||||||
try {
|
try {
|
||||||
log.info(msg() + "START replicas=" + replicas + " nUpdates=" + nUpdates);
|
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 (debug) {
|
||||||
if (startingVersions != null) {
|
if (startingVersions != null) {
|
||||||
log.debug(msg() + "startingVersions=" + startingVersions.size() + " " + startingVersions);
|
log.debug(msg() + "startingVersions=" + startingVersions.size() + " " + startingVersions);
|
||||||
|
|
Loading…
Reference in New Issue