refactor code

This commit is contained in:
Yihao Deng 2024-07-09 08:35:04 +00:00
parent ee09e26f47
commit 41f8553d53
1 changed files with 1 additions and 7 deletions

View File

@ -185,13 +185,7 @@ int32_t streamMetaCvtDbFormat(SStreamMeta* pMeta) {
terrno = 0; terrno = 0;
bool exist = streamBackendDataIsExist(pMeta->path, chkpId); bool exist = streamBackendDataIsExist(pMeta->path, chkpId);
if (exist == false) { if (exist == false) {
if (terrno != 0) { code = terrno;
code = terrno;
terrno = 0;
stError("failed to check backend data exist, reason:%s", tstrerror(code));
} else {
stInfo("not need to convert stream backend formate");
}
return code; return code;
} }