I think you are missing the point here. If you keep the standard configuration with a majority in the primary data center you wont be able to elect new primary if this data center is down even if you set priority to 1.
Lets assume you have configuration like this:
- location A: 2 members with priority 1, arbiter
- location B: 1 member with priority 0
- location C: 1 member with priority 0
Scenarios:
- Location A down.
- even if you set priority to 1 for members in data center B and C you won't you wont have majority to elect new primary
- Location B or C are down
- rs works as expected
- Network partition between {A} and {B, C}
- rs works as expected
- Non arbiter in data center A is down
- rs works as expected as long we can communicate with B or C
- Arbiter and another server from data center is down
- rs works as expected as long we can communicate with B and C
- Two non-arbiter members in data center are down, arbiter is up, we can communicate with B and C
- This is the only problematic case. We have three voting members up but none can become primary
You check that it work similarly for larger clusters.