Compare commits

...

2 Commits

Author SHA1 Message Date
Hongze Cheng 8933613114
Merge pull request #32423 from taosdata/fix/TS-6968-m
fix: update dnode state from offline to online
2025-08-01 15:40:23 +08:00
kailixu d3ff5348ad fix: update dnode state from offline to online 2025-08-01 10:20:09 +08:00
1 changed files with 3 additions and 0 deletions

View File

@ -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: