refactor retry
This commit is contained in:
parent
a20845ec69
commit
aa14e67da9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue