fill state

This commit is contained in:
liuyao 2023-04-19 09:14:36 +08:00
parent 53857abe18
commit ae117bd7c3
1 changed files with 4 additions and 2 deletions

View File

@ -256,8 +256,10 @@ int32_t streamStateBegin(SStreamState* pState) {
int32_t streamStateCommit(SStreamState* pState) {
#ifdef USE_ROCKSDB
if (pState->pFileState) {
SStreamSnapshot* pShot = getSnapshot(pState->pFileState);
flushSnapshot(pState->pFileState, pShot, true);
}
return 0;
#else
if (tdbCommit(pState->pTdbState->db, pState->pTdbState->txn) < 0) {