From aa14e67da9ab95e67a4745a4538672da907eb0d4 Mon Sep 17 00:00:00 2001 From: Yihao Deng Date: Mon, 22 Jan 2024 07:21:14 +0000 Subject: [PATCH] refactor retry --- 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 c0a4a6a73f..89a41806cd 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -589,7 +589,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; } sInfo("vgId:%d, sync get retry epset numOfEps:%d inUse:%d", pSyncNode->vgId, pEpSet->numOfEps, pEpSet->inUse);