[ 
https://issues.apache.org/jira/browse/SOLR-9310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437446#comment-15437446
 ] 

Yonik Seeley commented on SOLR-9310:
------------------------------------

Mark pointed me to SOLR-8085 for where/when we started buffering before 
peersync.
I think it probably had to do with the following scenario:
1) replica that is behind comes up and starts peersync
2) replica receives a bunch of updates forwarded from leader (and indexes them 
and adds them to tlog as normal)
3) replica goes down
4) replica comes up, looks at last 100 versions in it's transaction log, does 
peersync and concludes that it's up-to-date

Putting the udpate log in buffering mode adds a FLAG_GAP to all the records int 
he log, which signals that there is a gap somewhere and hence one can't 
conclude that if the last 100 updates are good that everything else is good.  
This is all before fingerprinting of course.

> 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.patch, SOLR-9310_3ReplicaTest.patch, 
> SOLR-9310_5x.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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to