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

ASF subversion and git services commented on SOLR-13718:
--------------------------------------------------------

Commit a8d5bd34bf494da8f59baea52f6578bf3ba44ce8 in lucene-solr's branch 
refs/heads/master from Ishan Chattopadhyaya
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a8d5bd3 ]

SOLR-13718: SPLITSHARD (async) with failures in underlying sub-operations can 
result in data loss

  When SPLITSHARD is issued asynchronously, any exception in a sub-operation 
isn't propagated and the overall
  SPLITSHARD task proceeds as if there were no failures. This results in 
marking the active parent shard inactive
  and can result in two empty sub-shards, thus causing data loss.


> SPLITSHARD using async can cause data loss
> ------------------------------------------
>
>                 Key: SOLR-13718
>                 URL: https://issues.apache.org/jira/browse/SOLR-13718
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.7.2
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>         Attachments: SOLR-13718.patch, solr.zip
>
>
> When using SPLITSHARD with async, if there are underlying failures in the 
> SPLIT core command or other sub-commands of SPLITSHARD, then SPLITSHARD 
> succeeds and results in two empty sub-shards.
> There are various potential failures with SPLIT core command, here's a way to 
> reproduce using a Solr 6x index in Solr 7x.
> Steps to reproduce (in Solr 7x):
> {code}
> 1. Import the attached configset, and create a collection.
> 2. Move in the attached data directory (index created in Solr6x) in place of 
> the created collection's data directory. Do a collection RELOAD.
> 3. Issue a *:* query, we see 5 documents.
> 4. Issue a SPLITSHARD, and then issue *:*, we see 0 documents.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to