diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index 94f25843fe4f612c00595734b788752efc915284..cd012f6c58b76cc18f22da8a6eee1bedc94b1e14 100644 --- a/src/vnode/src/vnodeMain.c +++ b/src/vnode/src/vnodeMain.c @@ -129,6 +129,8 @@ int32_t vnodeCreate(SCreateVnodeMsg *pVnodeCfg) { tsdbCfg.totalBlocks = pVnodeCfg->cfg.totalBlocks; tsdbCfg.daysPerFile = pVnodeCfg->cfg.daysPerFile; tsdbCfg.keep = pVnodeCfg->cfg.daysToKeep; + tsdbCfg.keep1 = pVnodeCfg->cfg.daysToKeep1; + tsdbCfg.keep2 = pVnodeCfg->cfg.daysToKeep2; tsdbCfg.minRowsPerFileBlock = pVnodeCfg->cfg.minRowsPerFileBlock; tsdbCfg.maxRowsPerFileBlock = pVnodeCfg->cfg.maxRowsPerFileBlock; tsdbCfg.precision = pVnodeCfg->cfg.precision;