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

Shalin Shekhar Mangar commented on SOLR-13815:
----------------------------------------------

Probably too late for this comment but...

bq. Still... I don't think zookeeper can update multiple znodes at the same 
time, so we might still have a very small window where we see something like 
inactive/construction/construction. I'm not sure what the behavior of the 
current code would be in that case.

Actually inactive/construction/construction is impossible because the shard 
state is coming from the clusterstate which is a single znode updated 
atomically. So the states will either be active/construction/construction or 
active/recovery/recovery or inactive/active/active. No other state is possible.

> 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: 20m
>  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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to