add vnode's dependency on wal
This commit is contained in:
parent
2d8aadff21
commit
c635e77d4e
|
@ -83,7 +83,7 @@ typedef struct {
|
|||
#if 0
|
||||
SSyncCfg syncCfg;
|
||||
#endif
|
||||
SWalCfg walCfg;
|
||||
//SWalCfg walCfg;
|
||||
void * qMgmt;
|
||||
char * rootDir;
|
||||
tsem_t sem;
|
||||
|
|
|
@ -16,10 +16,11 @@
|
|||
#ifndef _TD_VNODE_MAIN_H_
|
||||
#define _TD_VNODE_MAIN_H_
|
||||
|
||||
#include "vnodeInt.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "vnodeInt.h"
|
||||
|
||||
int32_t vnodeInitMain();
|
||||
void vnodeCleanupMain();
|
||||
|
|
|
@ -27,7 +27,7 @@ taos_queue vnodeAllocWriteQueue(SVnode *pVnode);
|
|||
void vnodeFreeWriteQueue(taos_queue pQueue);
|
||||
|
||||
void vnodeProcessWriteMsg(SRpcMsg *pRpcMsg);
|
||||
int32_t vnodeProcessWalMsg(SVnode *pVnode, SWalHead *pHead);
|
||||
//int32_t vnodeProcessWalMsg(SVnode *pVnode, SWalHead *pHead);
|
||||
|
||||
void vnodeStartWrite(SVnode *pVnode);
|
||||
void vnodeStopWrite(SVnode *pVnode);
|
||||
|
|
|
@ -3,10 +3,11 @@ add_library(tq ${TQ_SRC})
|
|||
target_include_directories(
|
||||
tq
|
||||
PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tq"
|
||||
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/wal"
|
||||
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
||||
PRIVATE "${CMAKE_SOURCE_DIR}/include/os"
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
os
|
||||
wal
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue