Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
During replication, if a full sync is necessary then the detection of corruption will happen after the index has been cleaned up (refer to solrCore.getDirectoryFactory().remove(indexDir); before calling openNewSearcherAndUpdateCommitPoint()) in IndexFetcher.
SOLR-8119 will make this issue obsolete but until then we should perform trivial verification (maybe just open a reader and close?) before the replica blows away its old index?