From d5686f48d65e745733f9646ebf140bc539103449 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Wed, 15 Jul 2020 17:51:24 +0800 Subject: [PATCH] no reconfig any more --- src/inc/tsdb.h | 1 - src/vnode/src/vnodeMain.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/inc/tsdb.h b/src/inc/tsdb.h index b8cc1768e8..3059fd2435 100644 --- a/src/inc/tsdb.h +++ b/src/inc/tsdb.h @@ -46,7 +46,6 @@ typedef struct { int (*eventCallBack)(void *); void *(*cqCreateFunc)(void *handle, uint64_t uid, int sid, char *sqlStr, STSchema *pSchema); void (*cqDropFunc)(void *handle); - void *(*configFunc)(int32_t vgId, int32_t sid); } STsdbAppH; // --------- TSDB REPOSITORY CONFIGURATION DEFINITION diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index 49f648b74d..f316efcfdb 100644 --- a/src/vnode/src/vnodeMain.c +++ b/src/vnode/src/vnodeMain.c @@ -263,7 +263,6 @@ int32_t vnodeOpen(int32_t vnode, char *rootDir) { appH.cqH = pVnode->cq; appH.cqCreateFunc = cqCreate; appH.cqDropFunc = cqDrop; - appH.configFunc = dnodeSendCfgTableToRecv; sprintf(temp, "%s/tsdb", rootDir); pVnode->tsdb = tsdbOpenRepo(temp, &appH); if (pVnode->tsdb == NULL) { @@ -580,7 +579,6 @@ static void vnodeNotifyFileSynced(void *ahandle, uint64_t fversion) { appH.cqH = pVnode->cq; appH.cqCreateFunc = cqCreate; appH.cqDropFunc = cqDrop; - appH.configFunc = dnodeSendCfgTableToRecv; pVnode->tsdb = tsdbOpenRepo(rootDir, &appH); } -- GitLab