From 30b0af90cfb49e5bd78aa2dc8e67da15828af809 Mon Sep 17 00:00:00 2001 From: kailixu Date: Sat, 18 Feb 2023 13:24:21 +0800 Subject: [PATCH] chore: support drop table meta in mnode only --- src/mnode/src/mnodeTable.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mnode/src/mnodeTable.c b/src/mnode/src/mnodeTable.c index 8520e1b25e..2fb762ca46 100644 --- a/src/mnode/src/mnodeTable.c +++ b/src/mnode/src/mnodeTable.c @@ -2403,6 +2403,11 @@ static int32_t mnodeDropChildTableCb(SMnodeMsg *pMsg, int32_t code) { return code; } + if (tsMetaSyncOption == 1) { + if (strstr((const char*)((SCTableObj *)pMsg->pTable->tableId), META_SYNC_TABLE_NAME)) { + return TSDB_CODE_SUCCESS; + } + } return mnodeSendDropChildTableMsg(pMsg, true); } -- GitLab