提交 f0ce38e7 编写于 作者: A AlexDuan

restore vnode.h and remove vnodeGetqMgmt() to tsdbHealth.c

上级 3d22388b
...@@ -88,9 +88,6 @@ int32_t vnodeWriteToRQueue(void *pVnode, void *pCont, int32_t contLen, int8_t qt ...@@ -88,9 +88,6 @@ int32_t vnodeWriteToRQueue(void *pVnode, void *pCont, int32_t contLen, int8_t qt
void vnodeFreeFromRQueue(void *pVnode, SVReadMsg *pRead); void vnodeFreeFromRQueue(void *pVnode, SVReadMsg *pRead);
int32_t vnodeProcessRead(void *pVnode, SVReadMsg *pRead); int32_t vnodeProcessRead(void *pVnode, SVReadMsg *pRead);
// util
void* vnodeGetqMgmt(void* pVnode);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -22,10 +22,14 @@ ...@@ -22,10 +22,14 @@
#include "tsdbBuffer.h" #include "tsdbBuffer.h"
#include "tsdbLog.h" #include "tsdbLog.h"
#include "tsdbHealth.h" #include "tsdbHealth.h"
#include "tsdbint.h"
#include "ttimer.h" #include "ttimer.h"
#include "vnode.h"
#include "../../vnode/inc/vnodeInt.h"
// get qmgmt
void* vnodeGetqMgmt(void* pVnode){
if(pVnode == NULL) return NULL;
return ((SVnodeObj*)pVnode)->qMgmt;
}
// return malloc new block count // return malloc new block count
int32_t tsdbInsertNewBlock(STsdbRepo * pRepo) { int32_t tsdbInsertNewBlock(STsdbRepo * pRepo) {
......
...@@ -562,9 +562,3 @@ static int32_t vnodeProcessTsdbStatus(void *arg, int32_t status, int32_t eno) { ...@@ -562,9 +562,3 @@ static int32_t vnodeProcessTsdbStatus(void *arg, int32_t status, int32_t eno) {
return 0; return 0;
} }
// get qmgmt
void* vnodeGetqMgmt(void* pVnode){
if(pVnode == NULL) return NULL;
return ((SVnodeObj*)pVnode)->qMgmt;
}
...@@ -178,3 +178,4 @@ void vnodeConfirmForward(void *vparam, uint64_t version, int32_t code, bool forc ...@@ -178,3 +178,4 @@ void vnodeConfirmForward(void *vparam, uint64_t version, int32_t code, bool forc
SVnodeObj *pVnode = vparam; SVnodeObj *pVnode = vparam;
syncConfirmForward(pVnode->sync, version, code, force); syncConfirmForward(pVnode->sync, version, code, force);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册