[
https://issues.apache.org/jira/browse/SOLR-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689842#comment-13689842
]
Robert Muir commented on SOLR-4942:
-----------------------------------
related: SOLR-2570
> Add more randomized testing of compound file format and random merge policies
> -----------------------------------------------------------------------------
>
> Key: SOLR-4942
> URL: https://issues.apache.org/jira/browse/SOLR-4942
> Project: Solr
> Issue Type: Bug
> 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 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.
--
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: [email protected]
For additional commands, e-mail: [email protected]