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.

load ec volume id locations

chrislue14b6e02df21
diff --git a/weed/shell/command_fs_verify.go b/weed/shell/command_fs_verify.go
index 47052cca08..9fe5bc0cbd 100644
--- a/weed/shell/command_fs_verify.go
+++ b/weed/shell/command_fs_verify.go
@@ -119,6 +119,13 @@ func (c *commandFsVerify) collectVolumeIds() error {
c.volumeServers = append(c.volumeServers, volumeServer)
}
}
+ for _, vi := range diskInfo.EcShardInfos {
+ volumeServer := pb.NewServerAddressFromDataNode(nodeInfo)
+ c.volumeIds[vi.Id] = append(c.volumeIds[vi.Id], volumeServer)
+ if !slices.Contains(c.volumeServers, volumeServer) {
+ c.volumeServers = append(c.volumeServers, volumeServer)
+ }
+ }
}
})
return nil