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

This commit is contained in:
xushuxun 2019-08-15 15:13:16 +08:00
parent 3d01510b02
commit 46ae35cd7e

View file

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