diff --git a/source/dnode/vnode/src/tsdb/dev/tsdbFSet.c b/source/dnode/vnode/src/tsdb/dev/tsdbFSet.c index 57ca0f4e0dc7994e3bb7d9c9434ec9c1f52312ba..b0c1e0718a673bdd3acb89fc0f316820159316d3 100644 --- a/source/dnode/vnode/src/tsdb/dev/tsdbFSet.c +++ b/source/dnode/vnode/src/tsdb/dev/tsdbFSet.c @@ -275,6 +275,7 @@ int32_t tsdbFileSetInitEx(const STFileSet *fset1, STFileSet *fset2) { SSttLvl *lvl1 = TCONTAINER_OF(node, SSttLvl, rbtn); SSttLvl *lvl2 = taosMemoryCalloc(1, sizeof(*lvl2)); if (lvl2 == NULL) return TSDB_CODE_OUT_OF_MEMORY; + stt_lvl_init(lvl2, lvl1->level); add_stt_lvl(fset2, lvl2); SRBTreeIter iter2 = tRBTreeIterCreate(&lvl1->sttTree, 1);