I tried this out with a dev-mode agent. I didn’t see anything in the logs when I changed the primary DC and did a
consul reload. Dev mode doesn’t reflect a production configuration very well. I’ll spin up a few nodes and play with the config over the next couple of days.
I have this GitHub issue to track a request to rotate primary DC’s: https://github.com/hashicorp/consul/issues/7817. Currently, primary DC’s have a blast radius if they are changed, and I am trying to collect data on what happens in different clusters when this happens. Please to the issue if you’re interested to track.
Can you post your server config file, as well as the command you are using to run the servers?
If anyone else reading this wants to try, feel free to post what they did and the results .