From b492082ac24dddfb9d2097f08c96d25d439eae04 Mon Sep 17 00:00:00 2001 From: Minghao Li Date: Fri, 21 Oct 2022 15:31:55 +0800 Subject: [PATCH] refacotr(sync): delete DynamicQuorum --- source/libs/sync/src/syncCommit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/sync/src/syncCommit.c b/source/libs/sync/src/syncCommit.c index f377b08671..b9d7789ca2 100644 --- a/source/libs/sync/src/syncCommit.c +++ b/source/libs/sync/src/syncCommit.c @@ -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(); -- GitLab