add wal back to vnode

This commit is contained in:
Liu Jicong 2021-10-13 13:45:19 +08:00
parent 6b5d7e7d2a
commit fd80f0b232
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ typedef struct {
#if 0
SSyncCfg syncCfg;
#endif
//SWalCfg walCfg;
SWalCfg walCfg;
void * qMgmt;
char * rootDir;
tsem_t sem;

View File

@ -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);