adjust resource heavy for volume.fix.replication
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user