[
https://issues.apache.org/jira/browse/SOLR-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ishan Chattopadhyaya updated SOLR-10368:
----------------------------------------
Description:
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.
was:
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. We should randomize the use of new and old replication schemes
in this test (and any other test that was similarly changed).
> Randomize TestCollectionAPI to use both replication schemes
> -----------------------------------------------------------
>
> Key: SOLR-10368
> URL: https://issues.apache.org/jira/browse/SOLR-10368
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
> Assignee: Cao Manh Dat
>
> 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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]