From 0710fc39afe1fa8c691814b5ec2da139cc8091e3 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 11 May 2023 09:04:14 +0000 Subject: [PATCH] factor code --- source/libs/stream/src/streamBackendRocksdb.c | 1 - source/libs/stream/src/streamMeta.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/streamBackendRocksdb.c b/source/libs/stream/src/streamBackendRocksdb.c index 46df662836..93870006b3 100644 --- a/source/libs/stream/src/streamBackendRocksdb.c +++ b/source/libs/stream/src/streamBackendRocksdb.c @@ -13,7 +13,6 @@ * along with this program. If not, see . */ -// #include "streamStateRocksdb.h" #include "streamBackendRocksdb.h" #include "executor.h" #include "tcommon.h" diff --git a/source/libs/stream/src/streamMeta.c b/source/libs/stream/src/streamMeta.c index 8167a12f6d..60d505b305 100644 --- a/source/libs/stream/src/streamMeta.c +++ b/source/libs/stream/src/streamMeta.c @@ -81,6 +81,7 @@ SStreamMeta* streamMetaOpen(const char* path, void* ahandle, FTaskExpand expandF pMeta->vgId = vgId; pMeta->ahandle = ahandle; pMeta->expandFunc = expandFunc; + pMeta->streamBackendId = streamBackendId; char* statePath = taosMemoryCalloc(1, len); sprintf(statePath, "%s/%s", pMeta->path, "state");