提交 66f3ed90 编写于 作者: C Cary Xu

other: make CI pass

上级 2e9e36d0
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
int32_t mndInitGrant(SMnode *pMnode); int32_t mndInitGrant(SMnode *pMnode);
void mndCleanupGrant(); void mndCleanupGrant();
void grantParseParameter(); void grantParseParameter();
void grantReset(SMnode *pMnode, EGrantType grant, uint64_t value); void grantReset(EGrantType grant, uint64_t value);
void grantResetNew(SMnode *pMnode, EGrantType grant, uint64_t value);
void grantAdd(EGrantType grant, uint64_t value); void grantAdd(EGrantType grant, uint64_t value);
void grantRestore(EGrantType grant, uint64_t value); void grantRestore(EGrantType grant, uint64_t value);
......
...@@ -129,7 +129,8 @@ int32_t mndInitGrant(SMnode *pMnode) { ...@@ -129,7 +129,8 @@ int32_t mndInitGrant(SMnode *pMnode) {
void mndCleanupGrant() {} void mndCleanupGrant() {}
void grantParseParameter() { mError("can't parsed parameter k"); } void grantParseParameter() { mError("can't parsed parameter k"); }
int32_t grantCheck(EGrantType grant) { return TSDB_CODE_SUCCESS; } int32_t grantCheck(EGrantType grant) { return TSDB_CODE_SUCCESS; }
void grantReset(SMnode *pMnode, EGrantType grant, uint64_t value) {} void grantReset(EGrantType grant, uint64_t value) {}
void grantResetNew(SMnode *pMnode, EGrantType grant, uint64_t value) {}
void grantAdd(EGrantType grant, uint64_t value) {} void grantAdd(EGrantType grant, uint64_t value) {}
void grantRestore(EGrantType grant, uint64_t value) {} void grantRestore(EGrantType grant, uint64_t value) {}
int32_t dmProcessGrantReq(SRpcMsg *pMsg) { return TSDB_CODE_SUCCESS; } int32_t dmProcessGrantReq(SRpcMsg *pMsg) { return TSDB_CODE_SUCCESS; }
......
...@@ -417,7 +417,7 @@ int32_t mndStart(SMnode *pMnode) { ...@@ -417,7 +417,7 @@ int32_t mndStart(SMnode *pMnode) {
mndSetRestore(pMnode, true); mndSetRestore(pMnode, true);
} }
grantReset(pMnode, TSDB_GRANT_ALL, 0); grantResetNew(pMnode, TSDB_GRANT_ALL, 0);
return mndInitTimer(pMnode); return mndInitTimer(pMnode);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册