mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(client): add audit log for unknown region host #1000075110
Signed-off-by: clinx <chenlin1@oppo.com>
This commit is contained in:
parent
5ee4050950
commit
c4124a35fa
@ -599,7 +599,6 @@ func (rc *RemoteCache) ClassifyHostsByAvgDelay(fgID uint64, hosts []string) (sor
|
||||
} else if avgTime <= sameRegionTimeout {
|
||||
sortedHosts[SameRegionRank] = append(sortedHosts[SameRegionRank], host)
|
||||
} else {
|
||||
auditlog.LogOpMsg("ClassifyHostsByAvgDelay", fmt.Sprintf("add host %v to cross region by time %v", host, avgTime.String()), nil)
|
||||
sortedHosts[CrossRegionRank] = append(sortedHosts[CrossRegionRank], host)
|
||||
auditlog.LogOpMsg("ClassifyHostsByAvgDelay", fmt.Sprintf("add host %v to cross region by time %v", host, avgTime.String()), nil)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user