[ https://issues.apache.org/jira/browse/SOLR-12739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647111#comment-16647111 ]
Steve Rowe commented on SOLR-12739: ----------------------------------- Another failure, reproduces well enough for me on master to run {{git bisect}} and locate the first failing commit ({{dbed8baf}} on this issue) when I leave off the {{-Dtests.method}} cmdline param. From [https://builds.apache.org/job/Lucene-Solr-BadApples-Tests-7.x/183/]: {noformat} Checking out Revision d921fe50e9bfcace5253a27e69d2e91f3eccc172 (refs/remotes/origin/branch_7x) [...] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestCollectionStateWatchers -Dtests.method=testSimpleCollectionWatch -Dtests.seed=466EB2632B3B0B17 -Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=is-IS -Dtests.timezone=Africa/Lagos -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1 [junit4] FAILURE 33.2s J2 | TestCollectionStateWatchers.testSimpleCollectionWatch <<< [junit4] > Throwable #1: java.lang.AssertionError: CollectionStateWatcher was never notified of cluster change [junit4] > at __randomizedtesting.SeedInfo.seed([466EB2632B3B0B17:1B557D136C369429]:0) [junit4] > at org.apache.solr.common.cloud.TestCollectionStateWatchers.testSimpleCollectionWatch(TestCollectionStateWatchers.java:141) [junit4] > at java.lang.Thread.run(Thread.java:748) [...] [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {}, docValues:{}, maxPointsInLeafNode=815, maxMBSortInHeap=5.42575346479253, sim=RandomSimilarity(queryNorm=true): {}, locale=is-IS, timezone=Africa/Lagos [junit4] 2> NOTE: Linux 4.4.0-137-generic amd64/Oracle Corporation 1.8.0_172 (64-bit)/cpus=4,threads=1,free=74336440,total=429391872 {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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org