Merge branch '3.0' into enh/refactorBackend
This commit is contained in:
parent
3e2314b09b
commit
54fe42d372
|
@ -1724,7 +1724,8 @@ int32_t taskDbGenChkpUplaodPath__s3(STaskDbWrapper* pDb, void* bkdChkpMgt, int64
|
||||||
char* temp = taosMemoryCalloc(1, strlen(pDb->path));
|
char* temp = taosMemoryCalloc(1, strlen(pDb->path));
|
||||||
sprintf(temp, "%s%s%s", pDb->path, TD_DIRSEP, "tmp");
|
sprintf(temp, "%s%s%s", pDb->path, TD_DIRSEP, "tmp");
|
||||||
|
|
||||||
if (!taosDirExist(temp)) {
|
if (taosDirExist(temp)) {
|
||||||
|
taosRemoveDir(temp);
|
||||||
taosMkDir(temp);
|
taosMkDir(temp);
|
||||||
}
|
}
|
||||||
bkdMgtGetDelta(p, pDb->idstr, chkpId, NULL, temp);
|
bkdMgtGetDelta(p, pDb->idstr, chkpId, NULL, temp);
|
||||||
|
|
Loading…
Reference in New Issue