Skip to content

Commit

Permalink
Merge pull request #22963 from taosdata/fix/TS-4015
Browse files Browse the repository at this point in the history
fix: set snapshot writer compression
  • Loading branch information
gccgdb1234 committed Sep 19, 2023
2 parents 1cfd34a + b179783 commit 7311e60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dnode/vnode/src/tsdb/tsdbSnapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ int32_t tsdbSnapWriterOpen(STsdb* pTsdb, int64_t sver, int64_t ever, STsdbSnapWr
writer[0]->precision = pTsdb->keepCfg.precision;
writer[0]->minRow = pTsdb->pVnode->config.tsdbCfg.minRows;
writer[0]->maxRow = pTsdb->pVnode->config.tsdbCfg.maxRows;
writer[0]->cmprAlg = pTsdb->pVnode->config.tsdbCfg.compression;
writer[0]->commitID = tsdbFSAllocEid(pTsdb->pFS);
writer[0]->szPage = pTsdb->pVnode->config.tsdbPageSize;
writer[0]->compactVersion = INT64_MAX;
Expand Down

0 comments on commit 7311e60

Please sign in to comment.