提交 8fd6b122 编写于 作者: D dmchen

mnode ver

上级 dd271bca
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "mndUser.h" #include "mndUser.h"
#include "tmisce.h" #include "tmisce.h"
#define VGROUP_VER_NUMBER 2 #define VGROUP_VER_NUMBER 1
#define VGROUP_RESERVE_SIZE 64 #define VGROUP_RESERVE_SIZE 64
static int32_t mndVgroupActionInsert(SSdb *pSdb, SVgObj *pVgroup); static int32_t mndVgroupActionInsert(SSdb *pSdb, SVgObj *pVgroup);
...@@ -159,9 +159,9 @@ SSdbRow *mndVgroupActionDecode(SSdbRaw *pRaw) { ...@@ -159,9 +159,9 @@ SSdbRow *mndVgroupActionDecode(SSdbRaw *pRaw) {
pVgid->syncState = TAOS_SYNC_STATE_LEADER; pVgid->syncState = TAOS_SYNC_STATE_LEADER;
} }
} }
if(sver > 1){ //if(sver > 1){
SDB_GET_INT32(pRaw, dataPos, &pVgroup->syncConfChangeVer, _OVER) SDB_GET_INT32(pRaw, dataPos, &pVgroup->syncConfChangeVer, _OVER)
} //}
SDB_GET_RESERVE(pRaw, dataPos, VGROUP_RESERVE_SIZE, _OVER) SDB_GET_RESERVE(pRaw, dataPos, VGROUP_RESERVE_SIZE, _OVER)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册