mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
wdclient: clear client cache when failed to connect to master leader
This commit is contained in:
parent
3d01510b02
commit
46ae35cd7e
|
@ -60,6 +60,7 @@ func (mc *MasterClient) tryAllMasters() {
|
|||
}
|
||||
|
||||
mc.currentMaster = ""
|
||||
mc.vidMap = newVidMap()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue