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
backup do not need to use preallocation
chrislu735038b2c1b3
diff --git a/weed/command/backup.go b/weed/command/backup.goindex ba1b0d287f..c43b0d351e 100644--- a/weed/command/backup.go+++ b/weed/command/backup.go@@ -120,7 +120,7 @@ func runBackup(cmd *Command, args []string) bool {}if v.SuperBlock.CompactionRevision < uint16(stats.CompactRevision) {- if err = v.Compact2(30*1024*1024*1024, 0, nil); err != nil {+ if err = v.Compact2(0, 0, nil); err != nil {fmt.Printf("Compact Volume before synchronizing %v\n", err)return true}