From 8990720bac9a48e140211298be6975318b7e45af Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 27 Nov 2020 04:52:36 +0000 Subject: [PATCH] fix keep problem --- src/vnode/src/vnodeMain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index 94f25843fe..cd012f6c58 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; -- GitLab