the parent state of WaitActingChange is Primary, not Peering.
Signed-off-by: wumingqiao <wumingqiao@inspur.com>
/*------WaitActingChange--------*/
PG::RecoveryState::WaitActingChange::WaitActingChange(my_context ctx)
: my_base(ctx),
- NamedState(context< RecoveryMachine >().pg, "Started/Primary/Peering/WaitActingChange")
+ NamedState(context< RecoveryMachine >().pg, "Started/Primary/WaitActingChange")
{
context< RecoveryMachine >().log_enter(state_name);
}