未验证 提交 c5b2a9e0 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #8575 from taosdata/feature/dnode3

minor changes
...@@ -53,7 +53,7 @@ typedef enum { ...@@ -53,7 +53,7 @@ typedef enum {
VN_MSG_TYPE_SYNC, VN_MSG_TYPE_SYNC,
VN_MSG_TYPE_QUERY, VN_MSG_TYPE_QUERY,
VN_MSG_TYPE_FETCH VN_MSG_TYPE_FETCH
} EVMType; } EVnMsgType;
typedef struct { typedef struct {
int32_t curNum; int32_t curNum;
...@@ -83,7 +83,7 @@ int32_t vnodeGetLoad(SVnode *pVnode, SVnodeLoad *pLoad); ...@@ -83,7 +83,7 @@ int32_t vnodeGetLoad(SVnode *pVnode, SVnodeLoad *pLoad);
SVnodeMsg *vnodeInitMsg(int32_t msgNum); SVnodeMsg *vnodeInitMsg(int32_t msgNum);
int32_t vnodeAppendMsg(SVnodeMsg *pMsg, SRpcMsg *pRpcMsg); int32_t vnodeAppendMsg(SVnodeMsg *pMsg, SRpcMsg *pRpcMsg);
void vnodeCleanupMsg(SVnodeMsg *pMsg); void vnodeCleanupMsg(SVnodeMsg *pMsg);
void vnodeProcessMsg(SVnode *pVnode, SVnodeMsg *pMsg, EVMType msgType); void vnodeProcessMsg(SVnode *pVnode, SVnodeMsg *pMsg, EVnMsgType msgType);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
...@@ -56,7 +56,7 @@ void vnodeCleanupMsg(SVnodeMsg *pMsg) { ...@@ -56,7 +56,7 @@ void vnodeCleanupMsg(SVnodeMsg *pMsg) {
taosFreeQitem(pMsg); taosFreeQitem(pMsg);
} }
void vnodeProcessMsg(SVnode *pVnode, SVnodeMsg *pMsg, EVMType msgType) { void vnodeProcessMsg(SVnode *pVnode, SVnodeMsg *pMsg, EVnMsgType msgType) {
switch (msgType) { switch (msgType) {
case VN_MSG_TYPE_WRITE: case VN_MSG_TYPE_WRITE:
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册