Re: PlacementPlugin to restrict two different shards of the same collection on the same node

2023-08-06 Thread Ilan Ginzburg
Indeed I don't think there is any restriction on placing replicas of different shards of a collection on the same node (no access to the code right now to check). If all nodes are empty before placement, all have enough free disk space, total number of replicas (number of shards times replication

Re: PlacementPlugin to restrict two different shards of the same collection on the same node

2023-08-05 Thread Jan Høydahl
Hi, I do not see this being a factor in the Ref Guide either https://solr.apache.org/guide/solr/latest/configuration-guide/replica-placement-plugins.html#affinityplacementfactory Can you give an example of how the distribution? Were there other candidate nodes that had fewer or same number of c

PlacementPlugin to restrict two different shards of the same collection on the same node

2023-07-26 Thread Jing Tie
Hello, We just migrated to Solr 9.2 and started using AffinityPlacementPlugin. In a sharded environment, we made sure there is enough storage on each node and enough nodes in each AZ, but it is interesting that shard1 and shard2 of the same collection were distributed on the same node. In Solr 8,