feat: add time unsynced check

This commit is contained in:
yihaoDeng 2022-07-15 16:07:54 +08:00
parent baa21c8398
commit f32d2bde1f
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ static int32_t hbAsyncCallBack(void *param, SDataBuf *pMsg, int32_t code) {
taosMemoryFreeClear(param);
if (code != 0) {
(*pInst)->onlineDnodes = 0;
(*pInst)->onlineDnodes = ((*pInst)->totalDnodes ? 0 : -1);
}
if (rspNum) {