mirror of https://github.com/apache/lucene.git
SOLR-11216: Fix test failures, since the new PeerSyncWithLeader won't open a realtime searcher everytime
This commit is contained in:
parent
9a9c65a6ba
commit
d38a1753d5
|
@ -802,6 +802,9 @@ public class RecoveryStrategy implements Runnable, Closeable {
|
|||
throw new SolrException(ErrorCode.SERVER_ERROR, "Replay failed");
|
||||
}
|
||||
}
|
||||
|
||||
// the index may ahead of the tlog's caches after recovery, by calling this tlog's caches will be purged
|
||||
core.getUpdateHandler().getUpdateLog().openRealtimeSearcher();
|
||||
|
||||
// solrcloud_debug
|
||||
cloudDebugLog(core, "replayed");
|
||||
|
|
Loading…
Reference in New Issue