You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/06/21 01:33:20 UTC

[jira] [Commented] (SOLR-4942) Add more randomized testing of compound file format and random merge policies

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org