It makes sense: European users are assigned to EU data center, and Chinese to the one closer to them. The "custom code" should not be complicated, just a map of country to DC.
You are suggesting to develop a compicated solution (spend money) when current simple one is working ok without any elections.
If you've ever actually tried to implement server clustering you quickly find there's no magic cloud, except in specific cases like blockchains. A privately operated cluster system is mostly about directing requests to the correct server out of a finite set of servers.
Why not a sticky master election per user, and have no special data centers?