From 663b5b4ecf57b9bd06009689ae40bf19da26ba93 Mon Sep 17 00:00:00 2001 From: Yihao Deng Date: Tue, 23 Jan 2024 09:09:29 +0000 Subject: [PATCH] sort epset --- source/libs/sync/src/syncMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/sync/src/syncMain.c b/source/libs/sync/src/syncMain.c index f26a38ee1d..edaf59f9db 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -592,7 +592,7 @@ void syncGetRetryEpSet(int64_t rid, SEpSet* pEpSet) { } if (pEpSet->numOfEps > 0) { pEpSet->inUse = (pSyncNode->raftCfg.cfg.myIndex + 1) % pEpSet->numOfEps; - pEpSet->inUse = 0; + // pEpSet->inUse = 0; } epsetSort(pEpSet);