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

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

OK, I updated the PR with code to show what document is missing.
The current test fails about 5% of the time (on my old linux box at least.)
I uploaded an example failing run:  
https://issues.apache.org/jira/secure/attachment/12982242/fail.191004_093307

The missing documents always seems to be right near the end.  For example in 
this run:
{code}
  2> 14727 ERROR (TEST-SplitShardTest.testLiveSplit-seed#[871F69E54EBB37FF]) [  
   ] o.a.s.c.SplitShardTest MISSING DOCUMENT doc_68
  > Throwable #1: java.lang.AssertionError: expected:<71> but was:<70>
{code}
So 71 documents were expected, only 70 were found, and it was doc #68 (numbered 
from 0) that was missing.


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