adjust resource heavy for volume.fix.replication

This commit is contained in:
chrislu
2024-09-29 11:32:18 -07:00
parent 6564ceda91
commit 20929f2a57
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ func (c *commandVolumeFixReplication) Help() string {
} }
func (c *commandVolumeFixReplication) HasTag(tag CommandTag) bool { 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) { func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {

View File

@@ -60,7 +60,7 @@ func (c *commandVolumeFsck) Name() string {
} }
func (c *commandVolumeFsck) Help() 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!!! Important assumption!!!
the system is all used by one filer. the system is all used by one filer.