[ https://issues.apache.org/jira/browse/SOLR-11634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson resolved SOLR-11634. ----------------------------------- Resolution: Won't Fix Rule-based replica placement is deprecated. Starting with Solr 7, policy placement is preferred, see the "Autoscaling Policy and Preferences" section of the Solr Reference Guide. > Create collection doesn't respect `maxShardsPerNode` > ---------------------------------------------------- > > Key: SOLR-11634 > URL: https://issues.apache.org/jira/browse/SOLR-11634 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 6.6.1 > Reporter: Nikolay Martynov > Assignee: Erick Erickson > Priority: Major > > Command > {noformat} > curl > 'http://host:8983/solr/admin/collections?action=CREATE&name=xxx&numShards=16&replicationFactor=3&collection.configName=config&maxShardsPerNode=2&rule=shard:*,replica:<2,node:*&rule=shard:*,replica:<2,sysprop.aws.az:*' > {noformat} > creates collection with 1,2 and 3 shard per nodes - looks like > {{maxShardsPerNode}} is being ignored. > Adding {{rule=replica:<{},node:*}} seems to help, but I'm not sure if this is > correct and it doesn't seem to match documented behaviour. -- 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