[jira] [Commented] (SOLR-12739) Make autoscaling policy based replica placement the default strategy for placing replicas

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-12739) Make autoscaling policy based replica placement the default strategy for placing replicas

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-12739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645725#comment-16645725 ]

Steve Rowe commented on SOLR-12739:
-----------------------------------

\@BadApple'd {{AutoAddReplicasPlanActionTest.testSimple()}} is also failing without a seed, and the first (consistently) failing master commit is {{dbed8ba}} on this issue. E.g. from [https://jenkins.thetaphi.de/job/Lucene-Solr-BadApples-master-Linux/104/]):

{noformat}
Checking out Revision 8d205ecd1c6a133f7cb9a4352388ec30d00b4bdb (refs/remotes/origin/master)
[...]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=AutoAddReplicasPlanActionTest -Dtests.method=testSimple -Dtests.seed=AEB09D2F3B1B1BA6 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=yo-BJ -Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 15.5s J1 | AutoAddReplicasPlanActionTest.testSimple <<<
   [junit4]    > Throwable #1: org.junit.ComparisonFailure: Target node is not as expectation expected:<127.0.0.1:[37029]_solr> but was:<127.0.0.1:[40937]_solr>
   [junit4]    > at __randomizedtesting.SeedInfo.seed([AEB09D2F3B1B1BA6:9603B9D11CE8CF77]:0)
   [junit4]    > at org.apache.solr.cloud.autoscaling.AutoAddReplicasPlanActionTest.assertOperations(AutoAddReplicasPlanActionTest.java:191)
   [junit4]    > at org.apache.solr.cloud.autoscaling.AutoAddReplicasPlanActionTest.testSimple(AutoAddReplicasPlanActionTest.java:123)
   [junit4]    > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [junit4]    > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    > at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   [junit4]    > at java.base/java.lang.Thread.run(Thread.java:844)
{noformat}

> Make autoscaling policy based replica placement the default strategy for placing replicas
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-12739
>                 URL: https://issues.apache.org/jira/browse/SOLR-12739
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public)
>          Components: AutoScaling, SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: 7.6, master (8.0)
>
>         Attachments: SOLR-12739.patch, SOLR-12739.patch, SOLR-12739.patch, SOLR-12739.patch, SOLR-12739.patch
>
>
> Today the default placement strategy is the same one used since Solr 4.x which is to select nodes on a round robin fashion. I propose to make the autoscaling policy based replica placement as the default policy for placing replicas.
> This is related to SOLR-12648 where even though we have default cluster preferences, we don't use them unless a policy is also configured.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]