From 05167ed01df545922180b9a17bdc6e96996e0a6f Mon Sep 17 00:00:00 2001 From: Cao Manh Dat Date: Tue, 20 Nov 2018 15:01:19 +0000 Subject: [PATCH] SOLR-12986: HttpPartitionTest reliably failing seed --- .../core/src/java/org/apache/solr/cloud/RecoveryStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java index 94e126e6a71..67c15e856bd 100644 --- a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java +++ b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java @@ -606,11 +606,11 @@ public class RecoveryStrategy implements Runnable, Closeable { cloudDebugLog(core, "synced"); log.info("Replaying updates buffered during PeerSync."); - replay(core); + replayFuture = replay(core); // sync success successfulRecovery = true; - return; + break; } log.info("PeerSync Recovery was not successful - trying replication.");