refactor retry

This commit is contained in:
Yihao Deng 2024-01-22 07:21:14 +00:00
parent a20845ec69
commit aa14e67da9
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ void syncGetRetryEpSet(int64_t rid, SEpSet* pEpSet) {
} }
if (pEpSet->numOfEps > 0) { if (pEpSet->numOfEps > 0) {
pEpSet->inUse = (pSyncNode->raftCfg.cfg.myIndex + 1) % pEpSet->numOfEps; 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); sInfo("vgId:%d, sync get retry epset numOfEps:%d inUse:%d", pSyncNode->vgId, pEpSet->numOfEps, pEpSet->inUse);