support reopen stream state

This commit is contained in:
yihaoDeng 2023-08-09 09:07:13 +00:00
parent a336a7b1a4
commit f3cf907d5a
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ int32_t backendManagerDumpTo(SBackendManager* bm, char* dname) {
// del file in $name
for (int i = 0; i < taosArrayGetSize(bm->pDel); i++) {
memset(dstBuf, 0, len);
char* filename = taosArrayGetP(bm->pDel, i);
sprintf(dstBuf, "%s%s%s", dstDir, TD_DIRSEP, filename);
taosRemoveFile(dstBuf);