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
fix(seaweed-volume): ceil EC shard slots in maybe_adjust_volume_max (#9232)
Chris Lu503b6f274417
diff --git a/seaweed-volume/src/storage/store.rs b/seaweed-volume/src/storage/store.rsindex 3c2cc43289..7fcadf48c6 100644--- a/seaweed-volume/src/storage/store.rs+++ b/seaweed-volume/src/storage/store.rs@@ -492,7 +492,8 @@ impl Store {let vol_count = loc.volumes_len() as i32;let loc_ec_shards = loc.ec_shard_count();let ec_equivalent = ((loc_ec_shards- + crate::storage::erasure_coding::ec_shard::DATA_SHARDS_COUNT)+ + crate::storage::erasure_coding::ec_shard::DATA_SHARDS_COUNT+ - 1)/ crate::storage::erasure_coding::ec_shard::DATA_SHARDS_COUNT)as i32;let mut max_count = vol_count + ec_equivalent;