Browse Source

adjust resource heavy for volume.fix.replication

pull/6079/head
chrislu 3 months ago
parent
commit
20929f2a57
  1. 2
      weed/shell/command_volume_fix_replication.go
  2. 2
      weed/shell/command_volume_fsck.go

2
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) {

2
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.

Loading…
Cancel
Save