You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2022/11/01 16:39:00 UTC

[jira] [Resolved] (SOLR-10368) Randomize TestCollectionAPI to use both replication schemes

     [ https://issues.apache.org/jira/browse/SOLR-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Houston Putman resolved SOLR-10368.
-----------------------------------
      Assignee:     (was: Cao Manh Dat)
    Resolution: Cannot Reproduce

The test currently is randomized between tlog and nrt replication. It looks like the work was done in SOLR-10233

> Randomize TestCollectionAPI to use both replication schemes
> -----------------------------------------------------------
>
>                 Key: SOLR-10368
>                 URL: https://issues.apache.org/jira/browse/SOLR-10368
>             Project: Solr
>          Issue Type: Test
>            Reporter: Ishan Chattopadhyaya
>            Priority: Major
>
> As per SOLR-9835, the TestCollectionAPI was modified to *necessarily* use the new replication scheme for creating the test collection.
> https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;a=blobdiff;f=solr/core/src/test/org/apache/solr/cloud/TestCollectionAPI.java;h=8fbfee391e0f27700723a2b45a11abe987b6236d;hp=8905077e4c800c087394fd3793c0514276780718;hb=7830462d4b7da3acefff6353419e71cde62d5fee;hpb=faeb1fe8c16f9e02aa5c3bba295bc24325b94a07
> {code}
> +      req.setRealtimeReplicas(1);
> {code}
> This leaves the default replication mode with no coverage with respect to the collections API when replication factor is > 1 and numShards > 1. We should randomize the use of new and old replication schemes in this test (and any other test that was similarly changed). Alternatively, we can have another collection in the test for the default replication scheme with replicationFactor and numShards > 1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org