mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-09 21:38:19 +01:00
adjust resource heavy for volume.fix.replication
This commit is contained in:
1 parent
6564ceda91
commit
20929f2a57
2 files changed
+2
-2
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user