If the users want to promote a replica in a different cell than the current primary using PlannedReparentShard, they have to specify the new primary with the --new-primary flag.
It would be nice to have the capability for PRS to be able to auto-select a replica from a different cell too.
Use Case(s)
If you're running a mode wherein you have multiple tablets in different cells, and you want to reparent away from the current primary, and you want to allow PRS to be able to choose the best candidate from all the possible cells, then this new feature is required.
Feature Description
If the users want to promote a replica in a different cell than the current primary using
PlannedReparentShard
, they have to specify the new primary with the--new-primary
flag.It would be nice to have the capability for PRS to be able to auto-select a replica from a different cell too.
Use Case(s)
If you're running a mode wherein you have multiple tablets in different cells, and you want to reparent away from the current primary, and you want to allow PRS to be able to choose the best candidate from all the possible cells, then this new feature is required.