Browse Source

wdclient: clear client cache when failed to connect to master leader

pull/1041/head
xushuxun 5 years ago
parent
commit
46ae35cd7e
  1. 1
      weed/wdclient/masterclient.go

1
weed/wdclient/masterclient.go

@ -60,6 +60,7 @@ func (mc *MasterClient) tryAllMasters() {
}
mc.currentMaster = ""
mc.vidMap = newVidMap()
}
}

Loading…
Cancel
Save