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

Yonik Seeley commented on SOLR-13815:
-------------------------------------

I've updated the PR with the fix, which eliminates the race condition uncovered 
by the test.  It grabs the clusterState at the start of processAdd and uses 
that same cluster state for both determining who is the leader and the further 
on what are the subShards.

I looped the test over the last 24 hours and it has passed 100%


> Live split can lose data
> ------------------------
>
>                 Key: SOLR-13815
>                 URL: https://issues.apache.org/jira/browse/SOLR-13815
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Yonik Seeley
>            Priority: Major
>             Fix For: 8.3
>
>         Attachments: fail.191004_053129, fail.191004_093307
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This issue is to investigate potential data loss during a "live" split (i.e. 
> split happens while updates are flowing)
> This was discovered during the shared storage work which was based on a 
> non-release branch_8x sometime before 8.3, hence the first steps are to try 
> and reproduce on the master branch without any shared storage changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to