Skip to content

Commit

Permalink
Merge pull request #19452 from taosdata/fix/TD-21829
Browse files Browse the repository at this point in the history
fix: return dropping dnode in status resp
  • Loading branch information
guanshengliang authored Jan 10, 2023
2 parents 0e06253 + 6ba5b6a commit 47885a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/dnode/mnode/impl/src/mndDnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ void mndGetDnodeData(SMnode *pMnode, SArray *pDnodeEps) {
void *pIter = NULL;
while (1) {
SDnodeObj *pDnode = NULL;
pIter = sdbFetch(pSdb, SDB_DNODE, pIter, (void **)&pDnode);
ESdbStatus objStatus = 0;
pIter = sdbFetchAll(pSdb, SDB_DNODE, pIter, (void **)&pDnode, &objStatus, true);
if (pIter == NULL) break;

SDnodeEp dnodeEp = {0};
Expand Down

0 comments on commit 47885a1

Please sign in to comment.