You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2016/08/22 14:38:20 UTC

[jira] [Reopened] (SOLR-9310) PeerSync fails on a node restart due to IndexFingerPrint mismatch

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

Yonik Seeley reopened SOLR-9310:
--------------------------------

Reopening... the cache that was added in SolrIndexSearcher is not thread safe and is checked outside synchronization.

Also, about this comment:
{code}
    // TODO what happens if updates came out of order, would cached fingerprint still be valid?
    // May be caching fingerprint may lead more problems
{code}

The index fingerprint only depends on what documents are in the index, not on their order in the index.  And since the cache is on SolrIndexSearcher (which has a static view of the index), it will be impossible for fingerprint to change for a given max version.  The comment should probably just be removed to avoid confusion.

> PeerSync fails on a node restart due to IndexFingerPrint mismatch
> -----------------------------------------------------------------
>
>                 Key: SOLR-9310
>                 URL: https://issues.apache.org/jira/browse/SOLR-9310
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Pushkar Raste
>            Assignee: Noble Paul
>             Fix For: trunk, 6.3
>
>         Attachments: PeerSync_3Node_Setup.jpg, PeerSync_Experiment.patch, SOLR-9310.patch, SOLR-9310.patch, SOLR-9310.patch, SOLR-9310.patch, SOLR-9310.patch, SOLR-9310_3ReplicaTest.patch, SOLR-9310_final.patch
>
>
> I found that Peer Sync fails if a node restarts and documents were indexed while node was down. IndexFingerPrint check fails after recovering node applies updates. 
> This happens only when node restarts and not if node just misses updates due reason other than it being down.
> Please check attached patch for the test.



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