【资源池化】【bugfix】1.限制switchover降备时间,10min完不成认为失败;2.增加定位手段,找出降备失败,始终处于PM_WAIT_BACKENDS的原因

This commit is contained in:
dongning12
2024-06-27 11:37:28 +08:00
parent ca44bc145f
commit e0bf2f88f7
5 changed files with 49 additions and 4 deletions

View File

@ -193,6 +193,7 @@ static void knl_g_dms_init(knl_g_dms_context *dms_cxt)
dms_cxt->SSReformInfo.redo_total_bytes = 0;
dms_cxt->SSReformInfo.reform_ver = 0;
dms_cxt->SSReformInfo.reform_ver_startup_wait = 0;
dms_cxt->SSReformInfo.switchover_demote_failure_signal_handled = false;
dms_cxt->SSClusterState = NODESTATE_NORMAL;
dms_cxt->SSRecoveryInfo.recovery_inst_id = INVALID_INSTANCEID;
dms_cxt->SSRecoveryInfo.cluster_ondemand_status = CLUSTER_NORMAL;