lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cao Manh Dat (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8120) Validate index files on replica before old index is deleted
Date Mon, 14 Dec 2015 04:32:46 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cao Manh Dat updated SOLR-8120:
-------------------------------
    Attachment: SOLR-8120.patch

First patch. 
It kindly hard to write a test for this improvement, any suggestion [~shalinmangar]?

> 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
>              Labels: difficulty-easy, impact-high
>             Fix For: 5.4, Trunk
>
>         Attachments: SOLR-8120.patch
>
>
> 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


Mime
View raw message