feat: add time unsynced check
This commit is contained in:
parent
baa21c8398
commit
f32d2bde1f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue