sort epset

This commit is contained in:
Yihao Deng 2024-01-23 09:09:29 +00:00
parent 2479df3b1e
commit 663b5b4ecf
1 changed files with 1 additions and 1 deletions

View File

@ -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);