Nikolay Martynov created SOLR-11634:
---------------------------------------
Summary: Create collection doesn't respect `maxShardsPerNode`
Key: SOLR-11634
URL: https://issues.apache.org/jira/browse/SOLR-11634
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 6.6.1
Reporter: Nikolay Martynov
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]