Merge pull request #32423 from taosdata/fix/TS-6968-m
fix: update dnode state from offline to online
This commit is contained in:
commit
8933613114
|
@ -936,6 +936,9 @@ static int32_t mndProcessStatusReq(SRpcMsg *pReq) {
|
|||
|
||||
pDnode->accessTimes++;
|
||||
pDnode->lastAccessTime = curMs;
|
||||
if ((DND_REASON_ONLINE != pDnode->offlineReason) && (online || mndIsDnodeOnline(pDnode, curMs))) {
|
||||
pDnode->offlineReason = DND_REASON_ONLINE;
|
||||
}
|
||||
code = 0;
|
||||
|
||||
_OVER:
|
||||
|
|
Loading…
Reference in New Issue