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.

adjust resource heavy for volume.fix.replication

chrislu20929f2a5753
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index 55c8012846..2c35b3bcdb 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -56,7 +56,7 @@ func (c *commandVolumeFixReplication) Help() string {
}
func (c *commandVolumeFixReplication) HasTag(tag CommandTag) bool {
- return tag == ResourceHeavy
+ return false && tag == ResourceHeavy // resource intensive only when deleting and checking with replicas.
}
func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go
index d68ec8de5e..30d3ecd112 100644
--- a/weed/shell/command_volume_fsck.go
+++ b/weed/shell/command_volume_fsck.go
@@ -60,7 +60,7 @@ func (c *commandVolumeFsck) Name() string {
}
func (c *commandVolumeFsck) Help() string {
- return `check all volumes to find entries not used by the filer
+ return `check all volumes to find entries not used by the filer. It is optional and resource intensive.
Important assumption!!!
the system is all used by one filer.