Hoss Man created SOLR-4942:
------------------------------

             Summary: 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


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]

Reply via email to