Skip to content

Commit

Permalink
Merge pull request #22513 from taosdata/FIX/TD-25864-3.0
Browse files Browse the repository at this point in the history
enh: adjust the order of pre-close actions in vnodePreClose
  • Loading branch information
gccgdb1234 committed Aug 22, 2023
2 parents e3eb0f9 + 8be670a commit e069d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dnode/vnode/src/vnd/vnodeOpen.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ SVnode *vnodeOpen(const char *path, int32_t diskPrimary, STfs *pTfs, SMsgCb msgC
}

void vnodePreClose(SVnode *pVnode) {
vnodeQueryPreClose(pVnode);
vnodeSyncPreClose(pVnode);
vnodeQueryPreClose(pVnode);
}

void vnodePostClose(SVnode *pVnode) { vnodeSyncPostClose(pVnode); }
Expand Down

0 comments on commit e069d72

Please sign in to comment.