You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/10/04 07:48:26 UTC

[jira] [Created] (SOLR-8120) Validate index files on replica before old index is deleted

Shalin Shekhar Mangar created SOLR-8120:
-------------------------------------------

             Summary: Validate index files on replica before old index is deleted
                 Key: SOLR-8120
                 URL: https://issues.apache.org/jira/browse/SOLR-8120
             Project: Solr
          Issue Type: Improvement
          Components: replication (java)
            Reporter: Shalin Shekhar Mangar
             Fix For: Trunk, 5.4


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org