Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

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

xushuxun46ae35cd7e9a
diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go
index 8a7866bd7f..da867696df 100644
--- a/weed/wdclient/masterclient.go
+++ b/weed/wdclient/masterclient.go
@@ -60,6 +60,7 @@ func (mc *MasterClient) tryAllMasters() {
}
mc.currentMaster = ""
+ mc.vidMap = newVidMap()
}
}