提交 06dbe69f 编写于 作者: S Shengliang Guan

rename

上级 2a5e231f
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "bmInt.h"
#include "bmHandle.h"
#include "bmMsg.h"
bool bmRequireNode(SMgmtWrapper *pWrapper) { return false; }
......
......@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include "bmHandle.h"
#include "bmMsg.h"
#include "bmWorker.h"
int32_t bmProcessCreateReq(SDnode *pDnode, SRpcMsg *pRpcMsg) {return 0;}
......
......@@ -22,30 +22,26 @@
extern "C" {
#endif
typedef struct SMnodeMgmt {
int32_t refCount;
int8_t deployed;
int8_t dropped;
int8_t replica;
int8_t selfIndex;
SReplica replicas[TSDB_MAX_REPLICA];
SMnode *pMnode;
SProcObj *pProcess;
bool singleProc;
SRWLatch latch;
SDnodeWorker readWorker;
SDnodeWorker writeWorker;
SDnodeWorker syncWorker;
int8_t replica;
int8_t selfIndex;
SReplica replicas[TSDB_MAX_REPLICA];
//
SProcObj *pProcess;
bool singleProc;
} SMnodeMgmt;
// interface
// mmInt.h
void mmGetMgmtFp(SMgmtWrapper *pMgmt);
// mmMgmt.h
int32_t mmInit(SDnode *pDnode);
void mmCleanup(SDnode *pDnode);
......
......@@ -13,8 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TD_DND_MNODE_HANDLE_H_
#define _TD_DND_MNODE_HANDLE_H_
#ifndef _TD_DND_MNODE_MSG_H_
#define _TD_DND_MNODE_MSG_H_
#include "mmInt.h"
......@@ -36,4 +36,4 @@ int32_t mmGetMonitorInfo(SDnode *pDnode, SMonClusterInfo *pClusterInfo, SMonVgro
}
#endif
#endif /*_TD_DND_MNODE_HANDLE_H_*/
\ No newline at end of file
#endif /*_TD_DND_MNODE_MSG_H_*/
\ No newline at end of file
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "mmInt.h"
#include "mmHandle.h"
#include "mmMsg.h"
bool mmRequireNode(SMgmtWrapper *pWrapper) { return false; }
......
......@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include "mmHandle.h"
#include "mmMsg.h"
#include "mmWorker.h"
#if 0
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "qmInt.h"
#include "qmHandle.h"
#include "qmMsg.h"
bool qmRequireNode(SMgmtWrapper *pWrapper) { return false; }
......
......@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include "qmHandle.h"
#include "qmMsg.h"
#include "qmWorker.h"
int32_t qmProcessCreateReq(SDnode *pDnode, SRpcMsg *pRpcMsg) {return 0;}
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "smInt.h"
#include "smHandle.h"
#include "smMsg.h"
bool smRequireNode(SMgmtWrapper *pWrapper) { return false; }
......
......@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include "smHandle.h"
#include "smMsg.h"
#include "smWorker.h"
int32_t smProcessCreateReq(SDnode *pDnode, SRpcMsg *pRpcMsg) {return 0;}
......
......@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "vmInt.h"
#include "vmHandle.h"
#include "vmMsg.h"
#include "vmMgmt.h"
static int32_t vmInit(SMgmtWrapper *pWrapper) {
......
......@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include "vmHandle.h"
#include "vmMsg.h"
#include "vmWorker.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册