Hi, I'm trying the new Solr 9.x replication plugin, and I'm running into an issue with the `nodeType` constraints. In summary, I created a docker-compose file that has:
- a zookeeper node - two "alpha" Solr nodes (`-Dnode_type=alphaNode`) - two "beta" Solr nodes (`-Dnode_type=betaNode`) - one overseer Solr node (`-Dsolr.node.roles=data:off,overseer:preferred`, exposes localhost:8983) Given a clean environment, I push the following plugin configuration: ```sh http -j post :8983/api/cluster/plugin <<<' { "add": { "name": ".placement-plugin", "class": "org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory", "config": { "withCollection": { "placeWithAlpha": "placeInAlpha", "placeWithAlphaOrBeta": "placeInAlphaOrBeta" }, "nodeType": { "placeInAlpha": "alphaNode", "placeInAlphaOrBeta": "alphaNode,betaNode" } } } } ' ``` I then proceed to create a new collection ```sh http -j post :8983/api/collections <<<' { "create": { "name": "placeInAlpha", "numShards": 1, "replicationFactor": 1 } } ' ``` I would expect this collection to be placed exclusively in a node with `node_type=alphaNode`. However, it's sometimes placed in nodes with `node_type=betaNode`. I deleted it and recreated it several times to verify, and I got a seemingly random placement. I wonder if my understanding of the documentation is wrong, or if there's something I'm missing from my configuration? Any help is appreciated. I'll continue playing with this and update the thread if I find any additional information. Best, Ixai P.S.: Before adding the `nodeType` constraint, I was successfully placing replicas with only the `withCollection` constraint.