The spare becomes the master while the primary is rebooting, but it takes over as master again when it has finished rebooting.
Can be annoying for some things like client VPN. Users get disconnected on the primary reboot. If they then reconnect again, they connect to the spare but then get disconnected again once the primary has finished rebooting.