seaweedfs / seaweedfs

SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

volume.vacuum and erasure coding shards

steven2612 opened this issue · comments

Discussed in #5168

Originally posted by steven2612 January 6, 2024
Hi,

i know compacting on ec shards is currently not implemented.
so with volume.vacuum those shards are simply ignored.

you can manually do a ec.decode -volumeId XX and then a volume.vacuum

wouldn't this be an option to do with volume.vacuum automatically?
so:

  • check if threshold is reached
  • do ec.decode
  • do compacting

volume.list also seems not to display the currently deleted bytes of an ec shard - is it possible to see this anywhere ?

best regards
sg