You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/03/30 13:27:52 UTC

[jira] [Updated] (SOLR-7324) No need to call isIndexStale if full copy is already needed

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

Varun Thacker updated SOLR-7324:
--------------------------------
    Attachment: SOLR-7324.patch

Hi Stephan,

Nice catch! Yes we don't need to check again if we already know that the we need to download the entire index.

Attached patch against trunk which addresses the issue. I still need to run the tests.

> No need to call isIndexStale if full copy is already needed
> -----------------------------------------------------------
>
>                 Key: SOLR-7324
>                 URL: https://issues.apache.org/jira/browse/SOLR-7324
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 4.10.4
>            Reporter: Stephan Lagraulet
>         Attachments: SOLR-7324.patch
>
>
> During replication, we had a message "File _3ww7_Lucene41_0.tim expected to be 2027667 while it is 1861076" when in fact there was already a match on commit.getGeneration() >= latestGeneration
> So this extra operation is not needed.



--
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