The only option I can think of is this, to force pin 1 tablet to dc1, and second to dc2, and leave third to place randomly it wants:
yb-admin --master-addresses=*** modify_placement_info datacenter1.*.*:1,datacenter2.*.*:1 3
Maybe there is some kind of anti-affinity for tablets placement?
But this will lead to Cluster Load is not Balanced in my testing, which is true.
Hi @hispebarzu
We have wildcard placement but we don’t have ant-affinity policy or a setting that guarantees that copies are placed as wide as possible. If needed, comment on https://github.com/yugabyte/yugabyte-db/issues/19862
Can you please describe your use case?
This generally useful when we have limited vertical capacity, in the DC, but we source compute in multiple DC providers.