You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/06/22 01:35:22 UTC
[jira] [Updated] (SOLR-4942) Add randomized testing of compound
file format - use xml include file to make adding more indexConfig
randomization easy
[ https://issues.apache.org/jira/browse/SOLR-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-4942:
---------------------------
Description:
SOLR-4926 seems to have uncovered some sporadic cloud/replication bugs related to using compound files.
We should updated SolrTestCaseJ4 and the majority of our test configs to better randomize indecConfig settings starting with compound file...
* update all test configs (that can be) to use xml include a common {{<indexConfig>}} snippet file
* make the sinppet file contain {{<useCompoundFile>${useCompoundFile:false}</useCompoundFile>}}
* update SolrTestCaseJ4 to toggle that sys property randomly
was:
SOLR-4926 seems to have uncovered some sporadic cloud/replication bugs related to using compound files.
We should updated SolrTestCaseJ4 and the majority of our test configs to better randomize the usage of compound files and merge policies.
Step #1...
* update test configs to use {{<useCompoundFile>${useCompoundFile:false}</useCompoundFile>}}
* update SolrTestCaseJ4 to toggle that sys property randomly
Step #2...
* add a new RandomMergePolicy that implements MergePolicy by proxying to another instance selected at creation using one of the LuceneTestCase.new...MergePolicy methods
* updated test configs to refer to this new MergePolicy
* borrow the "tests.shardhandler.randomSeed" logic in SolrTestCaseJ4 to give our RandomMergePolicy a consistent seed at runtime.
Summary: Add randomized testing of compound file format - use xml include file to make adding more indexConfig randomization easy (was: Add more randomized testing of compound file format and random merge policies)
breaking the merge policy stuff off into SOLR-4951
> Add randomized testing of compound file format - use xml include file to make adding more indexConfig randomization easy
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-4942
> URL: https://issues.apache.org/jira/browse/SOLR-4942
> Project: Solr
> Issue Type: Sub-task
> Reporter: Hoss Man
> Assignee: Hoss Man
> Attachments: SOLR-4942_phase1.patch
>
>
> SOLR-4926 seems to have uncovered some sporadic cloud/replication bugs related to using compound files.
> We should updated SolrTestCaseJ4 and the majority of our test configs to better randomize indecConfig settings starting with compound file...
> * update all test configs (that can be) to use xml include a common {{<indexConfig>}} snippet file
> * make the sinppet file contain {{<useCompoundFile>${useCompoundFile:false}</useCompoundFile>}}
> * update SolrTestCaseJ4 to toggle that sys property randomly
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org