restore vnode.h and remove vnodeGetqMgmt() to tsdbHealth.c
This commit is contained in:
parent
3d22388b2b
commit
f0ce38e77c
|
@ -88,9 +88,6 @@ int32_t vnodeWriteToRQueue(void *pVnode, void *pCont, int32_t contLen, int8_t qt
|
|||
void vnodeFreeFromRQueue(void *pVnode, SVReadMsg *pRead);
|
||||
int32_t vnodeProcessRead(void *pVnode, SVReadMsg *pRead);
|
||||
|
||||
// util
|
||||
void* vnodeGetqMgmt(void* pVnode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -22,10 +22,14 @@
|
|||
#include "tsdbBuffer.h"
|
||||
#include "tsdbLog.h"
|
||||
#include "tsdbHealth.h"
|
||||
#include "tsdbint.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
|
||||
int32_t tsdbInsertNewBlock(STsdbRepo * pRepo) {
|
||||
|
|
|
@ -562,9 +562,3 @@ static int32_t vnodeProcessTsdbStatus(void *arg, int32_t status, int32_t eno) {
|
|||
|
||||
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
|
|||
SVnodeObj *pVnode = vparam;
|
||||
syncConfirmForward(pVnode->sync, version, code, force);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue