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.

UI fix on rendering EC volumes

Chris Lu4ff2ceee33e2
diff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.go
index 785f33ec4b..71fe884dfc 100644
--- a/weed/storage/erasure_coding/ec_volume.go
+++ b/weed/storage/erasure_coding/ec_volume.go
@@ -145,9 +145,9 @@ func (ev *EcVolume) FileName() string {
}
-func (ev *EcVolume) ShardSize() int64 {
+func (ev *EcVolume) ShardSize() uint64 {
if len(ev.Shards) > 0 {
- return ev.Shards[0].Size()
+ return uint64(ev.Shards[0].Size())
}
return 0
}