mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(client): dp near read do not work because NearHosts was replaced by Hosts
Signed-off-by: liubingxing <liubbingxing@gmail.com>
This commit is contained in:
parent
b7635952e0
commit
cde83bd84f
@ -562,7 +562,7 @@ func (w *Wrapper) replaceOrInsertPartition(dp *DataPartition) {
|
||||
old.ReplicaNum = dp.ReplicaNum
|
||||
old.Hosts = dp.Hosts
|
||||
old.IsDiscard = dp.IsDiscard
|
||||
old.NearHosts = dp.Hosts
|
||||
old.NearHosts = dp.NearHosts
|
||||
|
||||
dp.Metrics = old.Metrics
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user