Do not attempt to "fix up" the partitions field; if Mnesia does not detect the partition it will behave wrong anyway.
Mutual disconnect when partial partition detected. And don't allow a very short disconnection since Mnesia might not detect it.
Also add a tiny bit more logging, for symmetry.