[
https://issues.apache.org/jira/browse/SOLR-9310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pushkar Raste updated SOLR-9310:
--------------------------------
Attachment: SOLR-9310_final.patch
Final patch. Here are highlights about the changes
* Don't buffer updates with `PEER_SYNC` flag on it, otherwise those would not
be included in the fingerprint and PeerSync would always fail on fingerprint
check
* PeerSync should care for fingerprint only for the updates it is applying.
Otherwise if documents are being indexed while a node is PeerSync. Node
recovering would have some of the documents in a buffer already. Node
recovering would ask for updates for those documents. Leader's fingerprint will
however reflect all the documents but recovering node's fingerprint would not
consider documents in the buffer.
This also applies for missed updates
* Cache fingerprint in `SolrIndexSearcher` judiciously
> 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
> Attachments: PeerSync_3Node_Setup.jpg, PeerSync_Experiment.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: [email protected]
For additional commands, e-mail: [email protected]