lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ishan Chattopadhyaya (JIRA)" <>
Subject [jira] [Resolved] (SOLR-10178) TestInPlaceUpdatesDistrib unable to use NoMergePolicy[Factory] on branch_6x
Date Tue, 07 Mar 2017 14:15:38 GMT


Ishan Chattopadhyaya resolved SOLR-10178.
       Resolution: Fixed
         Assignee: Ishan Chattopadhyaya
    Fix Version/s: master (7.0)

> TestInPlaceUpdatesDistrib unable to use NoMergePolicy[Factory] on branch_6x
> ---------------------------------------------------------------------------
>                 Key: SOLR-10178
>                 URL:
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>             Fix For: branch_6x, master (7.0)
> TestInPlaceUpdatesDistrib depends on consistent segments to track docIds to assert in-place
> Towards that, NoMergePolicy is best suited and working fine on master (by defining it
using NoMergePolicyFactory).
> This doesn't work with just the MergePolicy (systemSetPropertySolrTestsMergePolicy()),
since NoMergePolicy is a singleton and doesn't have a constructor. Setting only a NoMergePolicyFactory
(systemSetPropertySolrTestsMergePolicyFactory()) seems to take no effect and falls back on
RandomMergePolicyFactory. As a result, this test cannot use the NoMergePolicy[Factory].
> Here's the corresponding test failure:
> -Seems to me that SOLR-8668 needs to be backported to branch_6x for this test to work,
or some other stopgap hack needs to be put in place to make it work before SOLR-8668 is backported.
[~cpoerschke], WDYT?-
> Edit: This is also valid for master. ^

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message