Closed roypaulin closed 4 months ago
We probably need to do some subcluster_promote and subcluster_demote after we sandboxing the subclusters. For example, if we have two primary subclusters in main cluster, after the fully mirror step, we should have two primary subclusters in the sandbox.
We probably need to do some subcluster_promote and subcluster_demote after we sandboxing the subclusters. For example, if we have two primary subclusters in main cluster, after the fully mirror step, we should have two primary subclusters in the sandbox.
I am going to add promote/demote subcluster API calls in this PR.
For now alter sc type will only be used for replicated upgrade.
Looks good overall, only left a few minor comments.
We used to mirror only primary subclusters. Now we mirror secondary subclusters as well.