refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2024-05-08 13:54:25 +08:00
parent 9ce8f6953d
commit bc04093d11
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,6 @@ int32_t streamMetaBegin(SStreamMeta* pMeta) {
return code;
}
// todo add error log
int32_t streamMetaCommit(SStreamMeta* pMeta) {
if (tdbCommit(pMeta->db, pMeta->txn) < 0) {
stError("vgId:%d failed to commit stream meta", pMeta->vgId);
@ -787,6 +786,7 @@ int32_t streamMetaCommit(SStreamMeta* pMeta) {
return -1;
}
stDebug("vgId:%d stream meta file commit completed", pMeta->vgId);
return 0;
}