Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
fa93e9c8
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fa93e9c8
编写于
3月 14, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
shm
上级
e64422b6
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
1 addition
and
79 deletion
+1
-79
source/dnode/mgmt/container/inc/dndNode.h
source/dnode/mgmt/container/inc/dndNode.h
+0
-0
source/dnode/mgmt/container/src/dndNode.c
source/dnode/mgmt/container/src/dndNode.c
+0
-0
source/dnode/mgmt/container/src/dndTransport.c
source/dnode/mgmt/container/src/dndTransport.c
+1
-0
source/dnode/mgmt/dnode/inc/dmMgmt.h
source/dnode/mgmt/dnode/inc/dmMgmt.h
+0
-2
source/dnode/mgmt/dnode/src/dmMgmt.c
source/dnode/mgmt/dnode/src/dmMgmt.c
+0
-77
source/dnode/mgmt/main/CMakeLists.txt
source/dnode/mgmt/main/CMakeLists.txt
+0
-0
source/dnode/mgmt/main/inc/dndExec.h
source/dnode/mgmt/main/inc/dndExec.h
+0
-0
source/dnode/mgmt/main/src/dndExec.c
source/dnode/mgmt/main/src/dndExec.c
+0
-0
source/dnode/mgmt/main/src/dndUtil.c
source/dnode/mgmt/main/src/dndUtil.c
+0
-0
未找到文件。
source/dnode/mgmt/container/inc/dnd
Main
.h
→
source/dnode/mgmt/container/inc/dnd
Node
.h
浏览文件 @
fa93e9c8
文件已移动
source/dnode/mgmt/container/src/dnd
Main
.c
→
source/dnode/mgmt/container/src/dnd
Node
.c
浏览文件 @
fa93e9c8
文件已移动
source/dnode/mgmt/container/src/dndTransport.c
浏览文件 @
fa93e9c8
...
...
@@ -17,6 +17,7 @@
#include "dndTransport.h"
#include "dmMgmt.h"
#include "mmInt.h"
#include "dmHandle.h"
#define INTERNAL_USER "_dnd"
#define INTERNAL_CKEY "_key"
...
...
source/dnode/mgmt/dnode/inc/dmMgmt.h
浏览文件 @
fa93e9c8
...
...
@@ -32,8 +32,6 @@ void dndGetDnodeEp(SDnode *pDnode, int32_t dnodeId, char *pEp, char *pFqdn, u
void
dndGetMnodeEpSet
(
SDnode
*
pDnode
,
SEpSet
*
pEpSet
);
void
dndSendRedirectRsp
(
SDnode
*
pDnode
,
SRpcMsg
*
pMsg
);
void
dndSendStatusReq
(
SDnode
*
pDnode
);
void
dndProcessStartupReq
(
SDnode
*
pDnode
,
SRpcMsg
*
pMsg
);
void
dndProcessMgmtMsg
(
SDnode
*
pDnode
,
SMgmtWrapper
*
pWrapper
,
SNodeMsg
*
pMsg
)
;
#ifdef __cplusplus
...
...
source/dnode/mgmt/dnode/src/dmMgmt.c
浏览文件 @
fa93e9c8
...
...
@@ -271,83 +271,6 @@ void dndProcessMgmtMsg(SDnode *pDnode, SRpcMsg *pMsg, SEpSet *pEpSet) {
}
}
static void dndProcessMgmtQueue(SDnode *pDnode, SRpcMsg *pMsg) {
int32_t code = 0;
#if 0
switch (pMsg->msgType) {
case TDMT_DND_CREATE_MNODE:
code = mmProcessCreateMnodeReq(pDnode, pMsg);
break;
case TDMT_DND_ALTER_MNODE:
code = mmProcessAlterMnodeReq(pDnode, pMsg);
break;
case TDMT_DND_DROP_MNODE:
code = mmProcessDropMnodeReq(pDnode, pMsg);
break;
case TDMT_DND_CREATE_QNODE:
code = dndProcessCreateQnodeReq(pDnode, pMsg);
break;
case TDMT_DND_DROP_QNODE:
code = dndProcessDropQnodeReq(pDnode, pMsg);
break;
case TDMT_DND_CREATE_SNODE:
code = dndProcessCreateSnodeReq(pDnode, pMsg);
break;
case TDMT_DND_DROP_SNODE:
code = dndProcessDropSnodeReq(pDnode, pMsg);
break;
case TDMT_DND_CREATE_BNODE:
code = dndProcessCreateBnodeReq(pDnode, pMsg);
break;
case TDMT_DND_DROP_BNODE:
code = dndProcessDropBnodeReq(pDnode, pMsg);
break;
case TDMT_DND_CONFIG_DNODE:
code = dndProcessConfigDnodeReq(pDnode, pMsg);
break;
case TDMT_MND_STATUS_RSP:
dndProcessStatusRsp(pDnode, pMsg);
break;
case TDMT_MND_AUTH_RSP:
dndProcessAuthRsp(pDnode, pMsg);
break;
case TDMT_MND_GRANT_RSP:
dndProcessGrantRsp(pDnode, pMsg);
break;
case TDMT_DND_CREATE_VNODE:
code = dndProcessCreateVnodeReq(pDnode, pMsg);
break;
case TDMT_DND_ALTER_VNODE:
code = dndProcessAlterVnodeReq(pDnode, pMsg);
break;
case TDMT_DND_DROP_VNODE:
code = dndProcessDropVnodeReq(pDnode, pMsg);
break;
case TDMT_DND_SYNC_VNODE:
code = dndProcessSyncVnodeReq(pDnode, pMsg);
break;
case TDMT_DND_COMPACT_VNODE:
code = dndProcessCompactVnodeReq(pDnode, pMsg);
break;
default:
terrno = TSDB_CODE_MSG_NOT_PROCESSED;
code = -1;
dError("RPC %p, dnode msg:%s not processed", pMsg->handle, TMSG_INFO(pMsg->msgType));
break;
}
#endif
if (pMsg->msgType & 1u) {
if (code != 0) code = terrno;
SRpcMsg rsp = {.code = code, .handle = pMsg->handle, .ahandle = pMsg->ahandle};
rpcSendResponse(&rsp);
}
rpcFreeCont(pMsg->pCont);
pMsg->pCont = NULL;
taosFreeQitem(pMsg);
}
#endif
...
...
source/dnode/mgmt/
exec
/CMakeLists.txt
→
source/dnode/mgmt/
main
/CMakeLists.txt
浏览文件 @
fa93e9c8
文件已移动
source/dnode/mgmt/
exec
/inc/dndExec.h
→
source/dnode/mgmt/
main
/inc/dndExec.h
浏览文件 @
fa93e9c8
文件已移动
source/dnode/mgmt/
exec
/src/dndExec.c
→
source/dnode/mgmt/
main
/src/dndExec.c
浏览文件 @
fa93e9c8
文件已移动
source/dnode/mgmt/
exec
/src/dndUtil.c
→
source/dnode/mgmt/
main
/src/dndUtil.c
浏览文件 @
fa93e9c8
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录