lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-9439) Shard split clean up logic for older failed splits is faulty
Date Wed, 24 Aug 2016 21:21:21 GMT

     [ https://issues.apache.org/jira/browse/SOLR-9439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar updated SOLR-9439:
----------------------------------------
    Attachment: SOLR-9439.patch

Trivial fix is attached. The test which tickled this bug is part of SOLR-9438 but I'll try
to write a minimal test case here as well.

> Shard split clean up logic for older failed splits is faulty
> ------------------------------------------------------------
>
>                 Key: SOLR-9439
>                 URL: https://issues.apache.org/jira/browse/SOLR-9439
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 4.10.4, 5.5.2, 6.1
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: master (7.0), 6.3
>
>         Attachments: SOLR-9439.patch
>
>
> In case a split finds that previous sub-shards exist in construction or recovery state.
it tries to clean them up by invoking deleteshard API. However, the clean up logic tries to
invoke deleteshard on the same sub-shards as many times as the requested number of sub-ranges.
Such repeat calls to deleteshard fail and therefore fail the entire shard split operation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message