[ https://issues.apache.org/jira/browse/SOLR-12845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160450#comment-17160450 ]
Ishan Chattopadhyaya commented on SOLR-12845: --------------------------------------------- This commit introduced a massive regression in collection creation times. Please see the graph below and consider blue (current master) vs yellow line (master before this commit). !Screenshot from 2020-07-18 21-07-34.png! We have known for long that autoscaling framework is extremely inefficient. What was the need for committing this issue and forcing users to endure more agony by default? Also, there was no discussion around reviving this old issue, no warning before committing this, no pull request (against latest master). And worse, there was no performance testing done before merging this. Given this slowdown, I suggest that we revert this change immediately, release a breakfix 8.6.1 and apologize to our users for this oversight (unless it is an intentional change). [~ab], any thoughts please? > Add a default cluster policy > ---------------------------- > > Key: SOLR-12845 > URL: https://issues.apache.org/jira/browse/SOLR-12845 > Project: Solr > Issue Type: Improvement > Components: AutoScaling > Reporter: Shalin Shekhar Mangar > Assignee: Andrzej Bialecki > Priority: Major > Fix For: 8.6 > > Attachments: SOLR-12845.patch, SOLR-12845.patch, Screenshot from > 2020-07-18 21-07-34.png > > > [~varunthacker] commented on SOLR-12739: > bq. We should also ship with some default policies - "Don't allow more than > one replica of a shard on the same JVM" , "Distribute cores across the > cluster evenly" , "Distribute replicas per collection across the nodes" > This issue is about adding these defaults. I propose the following as default > cluster policy: > {code} > # Each shard cannot have more than one replica on the same node if possible > {"replica": "<2", "shard": "#EACH", "node": "#ANY", "strict":false} > # Each collections replicas should be equally distributed amongst nodes > {"replica": "#EQUAL", "node": "#ANY", "strict":false} > # All cores should be equally distributed amongst nodes > {"cores": "#EQUAL", "node": "#ANY", "strict":false} > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org