CS does XS master switch, which may cause weird XS behavior

Details

Security Level:Public
(Anyone can view this level - this is the default.)

Labels:

None

Environment:

XS 6.2 with CS 4.3.0

Description

When XS master is down, CS uses pool-emergency-transition-to-master and pool-recover-slaves API to choose a new master, this API is not safe, and should be only used in emergent situation, this API may cause XS use a little bit old(5 minutes old) version of XS DB, some of object may be missing in the old XS DB, which may cause weird behavior, you may not be able to start VM.