[
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: [email protected]
For additional commands, e-mail: [email protected]