aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-09-29 11:32:18 -0700
committerchrislu <chris.lu@gmail.com>2024-09-29 11:32:18 -0700
commit20929f2a5753a04385be2378e698c8df762b3256 (patch)
tree6fe97f798c82ef43605a12a12846a0c51a8a336f /weed/shell/command_volume_fix_replication.go
parent6564ceda915a67d5b2ded9b18a9e5be2abe3a4aa (diff)
downloadseaweedfs-20929f2a5753a04385be2378e698c8df762b3256.tar.xz
seaweedfs-20929f2a5753a04385be2378e698c8df762b3256.zip
adjust resource heavy for volume.fix.replication
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
-rw-r--r--weed/shell/command_volume_fix_replication.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index 55c801284..2c35b3bcd 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) {