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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
volume: fix loading old volume format
chrislu59e58c4b23e4
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.goindex 0cf603ad8b..2dc75d5ee3 100644--- a/weed/storage/volume_loading.go+++ b/weed/storage/volume_loading.go@@ -83,6 +83,9 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKindif alreadyHasSuperBlock {err = v.readSuperBlock()+ if err == nil {+ v.volumeInfo.Version = uint32(v.SuperBlock.Version)+ }glog.V(0).Infof("readSuperBlock volume %d version %v", v.Id, v.SuperBlock.Version)if v.HasRemoteFile() {// maybe temporary network problem