refacotr(sync): delete DynamicQuorum

This commit is contained in:
Minghao Li 2022-10-21 15:31:55 +08:00
parent 3c94d61493
commit b492082ac2
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@ static inline int64_t syncNodeAbs64(int64_t a, int64_t b) {
}
int32_t syncNodeDynamicQuorum(const SSyncNode* pSyncNode) {
return pSyncNode->quorum;
int32_t quorum = 1; // self
int64_t timeNow = taosGetTimestampMs();