[
https://issues.apache.org/jira/browse/SOLR-9439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe updated SOLR-9439:
-----------------------------
Attachment: Lucene-Solr-tests-master.8015.log.gz
My Jenkins has seen {{TestShardSplit.testSplitAfterFailedSplit()}} (new test
committed under this issue) fail 4 times (links below). I tried a couple of
the repro lines and they did not reproduce for me (on the same machine where my
Jenkins runs).
One of the failures - I'm also attaching a gzipped excerpt from the build log
for this run ({{Lucene-Solr-tests-master.8015.log.gz}}):
{noformat}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=ShardSplitTest
-Dtests.method=testSplitAfterFailedSplit -Dtests.seed=F8621B62A68543EC
-Dtests.slow=true -Dtests.locale=mt-MT -Dtests.timezone=America/Costa_Rica
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 34.6s J10 | ShardSplitTest.testSplitAfterFailedSplit <<<
[junit4] > Throwable #1: java.lang.AssertionError: Shard split did not
succeed after a previous failed split attempt left sub-shards in construction
state
[junit4] > at
__randomizedtesting.SeedInfo.seed([F8621B62A68543EC:12F88CD9AF00E66]:0)
[junit4] > at
org.apache.solr.cloud.ShardSplitTest.testSplitAfterFailedSplit(ShardSplitTest.java:138)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:985)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:960)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
Links to all 4 failing runs (in case more logs would be helpful):
http://jenkins.sarowe.net/job/Lucene-Solr-tests-6.x/2194/
http://jenkins.sarowe.net/job/Lucene-Solr-tests-master/8015/
http://jenkins.sarowe.net/job/Lucene-Solr-tests-6.x/2207/
http://jenkins.sarowe.net/job/Lucene-Solr-tests-6.x/2214/
> 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: Lucene-Solr-tests-master.8015.log.gz, SOLR-9439.patch,
> SOLR-9439.patch, 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: [email protected]
For additional commands, e-mail: [email protected]