fix:load task in snode

This commit is contained in:
wangmm0220 2023-11-13 09:12:15 +08:00
parent 8a05bad899
commit 6a44bd54ac
1 changed files with 4 additions and 0 deletions

View File

@ -123,6 +123,10 @@ SSnode *sndOpen(const char *path, const SSnodeOpt *pOption) {
goto FAIL;
}
if (streamMetaLoadAllTasks(pSnode->pMeta) < 0) {
goto FAIL;
}
stopRsync();
startRsync();