提交 c635e77d 编写于 作者: L Liu Jicong

add vnode's dependency on wal

上级 2d8aadff
...@@ -83,7 +83,7 @@ typedef struct { ...@@ -83,7 +83,7 @@ typedef struct {
#if 0 #if 0
SSyncCfg syncCfg; SSyncCfg syncCfg;
#endif #endif
SWalCfg walCfg; //SWalCfg walCfg;
void * qMgmt; void * qMgmt;
char * rootDir; char * rootDir;
tsem_t sem; tsem_t sem;
......
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
#ifndef _TD_VNODE_MAIN_H_ #ifndef _TD_VNODE_MAIN_H_
#define _TD_VNODE_MAIN_H_ #define _TD_VNODE_MAIN_H_
#include "vnodeInt.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include "vnodeInt.h"
int32_t vnodeInitMain(); int32_t vnodeInitMain();
void vnodeCleanupMain(); void vnodeCleanupMain();
......
...@@ -27,7 +27,7 @@ taos_queue vnodeAllocWriteQueue(SVnode *pVnode); ...@@ -27,7 +27,7 @@ taos_queue vnodeAllocWriteQueue(SVnode *pVnode);
void vnodeFreeWriteQueue(taos_queue pQueue); void vnodeFreeWriteQueue(taos_queue pQueue);
void vnodeProcessWriteMsg(SRpcMsg *pRpcMsg); void vnodeProcessWriteMsg(SRpcMsg *pRpcMsg);
int32_t vnodeProcessWalMsg(SVnode *pVnode, SWalHead *pHead); //int32_t vnodeProcessWalMsg(SVnode *pVnode, SWalHead *pHead);
void vnodeStartWrite(SVnode *pVnode); void vnodeStartWrite(SVnode *pVnode);
void vnodeStopWrite(SVnode *pVnode); void vnodeStopWrite(SVnode *pVnode);
...@@ -37,4 +37,4 @@ void vnodeWaitWriteCompleted(SVnode *pVnode); ...@@ -37,4 +37,4 @@ void vnodeWaitWriteCompleted(SVnode *pVnode);
} }
#endif #endif
#endif /*_TD_VNODE_WRITE_H_*/ #endif /*_TD_VNODE_WRITE_H_*/
\ No newline at end of file
...@@ -3,10 +3,11 @@ add_library(tq ${TQ_SRC}) ...@@ -3,10 +3,11 @@ add_library(tq ${TQ_SRC})
target_include_directories( target_include_directories(
tq tq
PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tq" PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tq"
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/wal"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
PRIVATE "${CMAKE_SOURCE_DIR}/include/os" PRIVATE "${CMAKE_SOURCE_DIR}/include/os"
) )
target_link_libraries( target_link_libraries(
os wal
) )
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册