!126 cm适配支持资源池化主备双集群部署

Merge pull request !126 from 薛蒙恩/dorado
This commit is contained in:
opengauss-bot 2023-06-06 06:47:16 +00:00 committed by Gitee
commit 7d34158944
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -859,7 +859,7 @@ int CheckShareDiskDataNodeStatus(uint32 groupIndex)
++unknownCnt;
}
}
if (normalPriCnt != 1) {
if (backup_open == CLUSTER_PRIMARY && normalPriCnt != 1) {
g_HA_status->status = CM_STATUS_NEED_REPAIR;
write_runlog(LOG,
"cluster status is unavail, instanceId(%u), normalPriCnt=%d, priCnt=%d, dnFaultCnt=%d, unknownCnt=%d.\n",