提交 a50e8233 编写于 作者: S Shengliang Guan

shm

上级 63861e65
......@@ -15,7 +15,6 @@
#define _DEFAULT_SOURCE
// #include "dndBnode.h"
// #include "dmInt.h"
// #include "dndTransport.h"
// #include "dndWorker.h"
......
......@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "dndInt.h"
#include "dmInt.h"
#include "dm.h"
#include "mm.h"
#include "vmInt.h"
......
......@@ -17,7 +17,7 @@
#include "dndInt.h"
#include "bmInt.h"
#include "dmInt.h"
#include "dm.h"
#include "mm.h"
#include "qmInt.h"
#include "smInt.h"
......@@ -209,7 +209,7 @@ static int32_t dndRunInSingleProcess(SDnode *pDnode) {
}
SMgmtWrapper *pWrapper = dndGetWrapper(pDnode, DNODE);
if (dmStartWorker(pWrapper->pMgmt) != 0) {
if (dmStart(pWrapper) != 0) {
dError("failed to start dnode worker since %s", terrstr());
return -1;
}
......@@ -351,7 +351,7 @@ static int32_t dndRunInMultiProcess(SDnode *pDnode) {
}
SMgmtWrapper *pWrapper = dndGetWrapper(pDnode, DNODE);
if (pWrapper->procType == PROC_PARENT && dmStartWorker(pWrapper->pMgmt) != 0) {
if (pWrapper->procType == PROC_PARENT && dmStart(pWrapper->pMgmt) != 0) {
dError("failed to start dnode worker since %s", terrstr());
return -1;
}
......
......@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "dndInt.h"
#include "dmInt.h"
#include "dm.h"
#include "mm.h"
#define INTERNAL_USER "_dnd"
......
......@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "mmInt.h"
#include "dmInt.h"
#include "dm.h"
SMnode *mmAcquire(SMnodeMgmt *pMgmt) {
SMnode *pMnode = NULL;
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "mmInt.h"
#include "dmInt.h"
#include "dm.h"
int32_t mmProcessCreateReq(SMnodeMgmt *pMgmt, SNodeMsg *pMsg) {
SDnode *pDnode = pMgmt->pDnode;
......
......@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "mmInt.h"
#include "dmInt.h"
#include "dm.h"
static void mmProcessQueue(SMnodeMgmt *pMgmt, SNodeMsg *pMsg) {
dTrace("msg:%p, will be processed", pMsg);
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
// #include "dndQnode.h"
// #include "dmInt.h"
// #include "dm.h"
// #include "dndTransport.h"
// #include "dndWorker.h"
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
// #include "dndSnode.h"
// #include "dmInt.h"
// #include "dm.h"
// #include "dndTransport.h"
// #include "dndWorker.h"
......
......@@ -17,7 +17,7 @@
#include "vmMsg.h"
#include "vmFile.h"
#include "vmWorker.h"
#include "dmInt.h"
#include "dm.h"
static void vmGenerateVnodeCfg(SCreateVnodeReq *pCreate, SVnodeCfg *pCfg) {
pCfg->vgId = pCreate->vgId;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册