SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
refactor
chrisluec30a504bae6
diff --git a/weed/shell/command.go b/weed/shell/command.goindex e1a820ff8f..cfd994f3fd 100644--- a/weed/shell/command.go+++ b/weed/shell/command.go@@ -6,9 +6,15 @@ type command interface {Name() stringHelp() stringDo([]string, *CommandEnv, io.Writer) error- IsResourceHeavy() bool+ HasTag(tag CommandTag) bool}var (Commands = []command{})++type CommandTag string++const (+ ResourceHeavy CommandTag = "resourceHeavy"+)diff --git a/weed/shell/command_cluster_check.go b/weed/shell/command_cluster_check.goindex b7c0defb19..27a4f2bb3d 100644--- a/weed/shell/command_cluster_check.go+++ b/weed/shell/command_cluster_check.go@@ -32,7 +32,7 @@ func (c *commandClusterCheck) Help() string {`}-func (c *commandClusterCheck) IsResourceHeavy() bool {+func (c *commandClusterCheck) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_cluster_ps.go b/weed/shell/command_cluster_ps.goindex 0aa317e4ad..5a15036125 100644--- a/weed/shell/command_cluster_ps.go+++ b/weed/shell/command_cluster_ps.go@@ -35,7 +35,7 @@ func (c *commandClusterPs) Help() string {`}-func (c *commandClusterPs) IsResourceHeavy() bool {+func (c *commandClusterPs) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_cluster_raft_add.go b/weed/shell/command_cluster_raft_add.goindex 1c8cbdc73e..6089631b18 100644--- a/weed/shell/command_cluster_raft_add.go+++ b/weed/shell/command_cluster_raft_add.go@@ -27,7 +27,7 @@ func (c *commandRaftServerAdd) Help() string {`}-func (c *commandRaftServerAdd) IsResourceHeavy() bool {+func (c *commandRaftServerAdd) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_cluster_raft_ps.go b/weed/shell/command_cluster_raft_ps.goindex 0816615847..c8324f635a 100644--- a/weed/shell/command_cluster_raft_ps.go+++ b/weed/shell/command_cluster_raft_ps.go@@ -26,7 +26,7 @@ func (c *commandRaftClusterPs) Help() string {`}-func (c *commandRaftClusterPs) IsResourceHeavy() bool {+func (c *commandRaftClusterPs) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_cluster_raft_remove.go b/weed/shell/command_cluster_raft_remove.goindex f0cafcddd2..1091258904 100644--- a/weed/shell/command_cluster_raft_remove.go+++ b/weed/shell/command_cluster_raft_remove.go@@ -27,7 +27,7 @@ func (c *commandRaftServerRemove) Help() string {`}-func (c *commandRaftServerRemove) IsResourceHeavy() bool {+func (c *commandRaftServerRemove) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.goindex b473c5a1fa..0239d4c55e 100644--- a/weed/shell/command_collection_delete.go+++ b/weed/shell/command_collection_delete.go@@ -28,7 +28,7 @@ func (c *commandCollectionDelete) Help() string {`}-func (c *commandCollectionDelete) IsResourceHeavy() bool {+func (c *commandCollectionDelete) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.goindex a09e417756..32085f565b 100644--- a/weed/shell/command_collection_list.go+++ b/weed/shell/command_collection_list.go@@ -23,7 +23,7 @@ func (c *commandCollectionList) Help() string {return `list all collections`}-func (c *commandCollectionList) IsResourceHeavy() bool {+func (c *commandCollectionList) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_ec_balance.go b/weed/shell/command_ec_balance.goindex 8dfc6aa4ea..704027580f 100644--- a/weed/shell/command_ec_balance.go+++ b/weed/shell/command_ec_balance.go@@ -98,7 +98,7 @@ func (c *commandEcBalance) Help() string {`}-func (c *commandEcBalance) IsResourceHeavy() bool {+func (c *commandEcBalance) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.goindex 3097eff8cf..02d0f316d7 100644--- a/weed/shell/command_ec_decode.go+++ b/weed/shell/command_ec_decode.go@@ -37,7 +37,7 @@ func (c *commandEcDecode) Help() string {`}-func (c *commandEcDecode) IsResourceHeavy() bool {+func (c *commandEcDecode) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.goindex 7429e9a6ae..e41529174f 100644--- a/weed/shell/command_ec_encode.go+++ b/weed/shell/command_ec_encode.go@@ -56,7 +56,7 @@ func (c *commandEcEncode) Help() string {`}-func (c *commandEcEncode) IsResourceHeavy() bool {+func (c *commandEcEncode) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.goindex ec4fe5982d..b761ea676c 100644--- a/weed/shell/command_ec_rebuild.go+++ b/weed/shell/command_ec_rebuild.go@@ -55,7 +55,7 @@ func (c *commandEcRebuild) Help() string {`}-func (c *commandEcRebuild) IsResourceHeavy() bool {+func (c *commandEcRebuild) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_cat.go b/weed/shell/command_fs_cat.goindex 9272ad3add..47a7f3be88 100644--- a/weed/shell/command_fs_cat.go+++ b/weed/shell/command_fs_cat.go@@ -26,7 +26,7 @@ func (c *commandFsCat) Help() string {`}-func (c *commandFsCat) IsResourceHeavy() bool {+func (c *commandFsCat) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_cd.go b/weed/shell/command_fs_cd.goindex 651357bb9e..6988651425 100644--- a/weed/shell/command_fs_cd.go+++ b/weed/shell/command_fs_cd.go@@ -28,7 +28,7 @@ func (c *commandFsCd) Help() string {`}-func (c *commandFsCd) IsResourceHeavy() bool {+func (c *commandFsCd) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.goindex 6dc8e1ea26..b70eb88fce 100644--- a/weed/shell/command_fs_configure.go+++ b/weed/shell/command_fs_configure.go@@ -46,7 +46,7 @@ func (c *commandFsConfigure) Help() string {`}-func (c *commandFsConfigure) IsResourceHeavy() bool {+func (c *commandFsConfigure) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_du.go b/weed/shell/command_fs_du.goindex 6204ffdbd8..c35179f88f 100644--- a/weed/shell/command_fs_du.go+++ b/weed/shell/command_fs_du.go@@ -29,7 +29,7 @@ func (c *commandFsDu) Help() string {`}-func (c *commandFsDu) IsResourceHeavy() bool {+func (c *commandFsDu) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_log.go b/weed/shell/command_fs_log.goindex 974ddfa9ff..137a218f02 100644--- a/weed/shell/command_fs_log.go+++ b/weed/shell/command_fs_log.go@@ -27,7 +27,7 @@ func (c *commandFsLogPurge) Help() string {`}-func (c *commandFsLogPurge) IsResourceHeavy() bool {+func (c *commandFsLogPurge) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.goindex dfc2144a35..e007b4c9ef 100644--- a/weed/shell/command_fs_ls.go+++ b/weed/shell/command_fs_ls.go@@ -33,7 +33,7 @@ func (c *commandFsLs) Help() string {`}-func (c *commandFsLs) IsResourceHeavy() bool {+func (c *commandFsLs) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_merge_volumes.go b/weed/shell/command_fs_merge_volumes.goindex 6293acf4a6..eb401aab12 100644--- a/weed/shell/command_fs_merge_volumes.go+++ b/weed/shell/command_fs_merge_volumes.go@@ -44,7 +44,7 @@ func (c *commandFsMergeVolumes) Help() string {`}-func (c *commandFsMergeVolumes) IsResourceHeavy() bool {+func (c *commandFsMergeVolumes) HasTag(CommandTag) bool {return false}@@ -326,7 +326,7 @@ func moveChunk(chunk *filer_pb.FileChunk, toVolumeId needle.VolumeId, masterClieif err != nil {return err}-+_, err, _ = uploader.Upload(reader, &operation.UploadOption{UploadUrl: uploadURL,Filename: filename,diff --git a/weed/shell/command_fs_meta_cat.go b/weed/shell/command_fs_meta_cat.goindex 994e1ee189..e47d8faa60 100644--- a/weed/shell/command_fs_meta_cat.go+++ b/weed/shell/command_fs_meta_cat.go@@ -30,7 +30,7 @@ func (c *commandFsMetaCat) Help() string {`}-func (c *commandFsMetaCat) IsResourceHeavy() bool {+func (c *commandFsMetaCat) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_meta_change_volume_id.go b/weed/shell/command_fs_meta_change_volume_id.goindex d9a489cf0b..f1c148f5bd 100644--- a/weed/shell/command_fs_meta_change_volume_id.go+++ b/weed/shell/command_fs_meta_change_volume_id.go@@ -37,7 +37,7 @@ func (c *commandFsMetaChangeVolumeId) Help() string {`}-func (c *commandFsMetaChangeVolumeId) IsResourceHeavy() bool {+func (c *commandFsMetaChangeVolumeId) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_meta_load.go b/weed/shell/command_fs_meta_load.goindex 5d81014d90..d56274362b 100644--- a/weed/shell/command_fs_meta_load.go+++ b/weed/shell/command_fs_meta_load.go@@ -38,7 +38,7 @@ func (c *commandFsMetaLoad) Help() string {`}-func (c *commandFsMetaLoad) IsResourceHeavy() bool {+func (c *commandFsMetaLoad) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_meta_notify.go b/weed/shell/command_fs_meta_notify.goindex d0ea7c8c52..d7aca21d3b 100644--- a/weed/shell/command_fs_meta_notify.go+++ b/weed/shell/command_fs_meta_notify.go@@ -30,7 +30,7 @@ func (c *commandFsMetaNotify) Help() string {`}-func (c *commandFsMetaNotify) IsResourceHeavy() bool {+func (c *commandFsMetaNotify) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.goindex a44b55dce4..a8be9fe2cf 100644--- a/weed/shell/command_fs_meta_save.go+++ b/weed/shell/command_fs_meta_save.go@@ -44,7 +44,7 @@ func (c *commandFsMetaSave) Help() string {`}-func (c *commandFsMetaSave) IsResourceHeavy() bool {+func (c *commandFsMetaSave) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_mkdir.go b/weed/shell/command_fs_mkdir.goindex 8596931292..9c33aa81ca 100644--- a/weed/shell/command_fs_mkdir.go+++ b/weed/shell/command_fs_mkdir.go@@ -27,7 +27,7 @@ func (c *commandFsMkdir) Help() string {`}-func (c *commandFsMkdir) IsResourceHeavy() bool {+func (c *commandFsMkdir) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_mv.go b/weed/shell/command_fs_mv.goindex f212455011..cb966571c4 100644--- a/weed/shell/command_fs_mv.go+++ b/weed/shell/command_fs_mv.go@@ -34,7 +34,7 @@ func (c *commandFsMv) Help() string {`}-func (c *commandFsMv) IsResourceHeavy() bool {+func (c *commandFsMv) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_pwd.go b/weed/shell/command_fs_pwd.goindex ef6c000ba9..e74fb6c3dc 100644--- a/weed/shell/command_fs_pwd.go+++ b/weed/shell/command_fs_pwd.go@@ -20,7 +20,7 @@ func (c *commandFsPwd) Help() string {return `print out current directory`}-func (c *commandFsPwd) IsResourceHeavy() bool {+func (c *commandFsPwd) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_rm.go b/weed/shell/command_fs_rm.goindex 0523620c3c..0af75f048d 100644--- a/weed/shell/command_fs_rm.go+++ b/weed/shell/command_fs_rm.go@@ -34,7 +34,7 @@ func (c *commandFsRm) Help() string {`}-func (c *commandFsRm) IsResourceHeavy() bool {+func (c *commandFsRm) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_tree.go b/weed/shell/command_fs_tree.goindex a18d9e532b..21e352af25 100644--- a/weed/shell/command_fs_tree.go+++ b/weed/shell/command_fs_tree.go@@ -28,7 +28,7 @@ func (c *commandFsTree) Help() string {`}-func (c *commandFsTree) IsResourceHeavy() bool {+func (c *commandFsTree) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_fs_verify.go b/weed/shell/command_fs_verify.goindex 1312ab8b1d..ea9f86c3c8 100644--- a/weed/shell/command_fs_verify.go+++ b/weed/shell/command_fs_verify.go@@ -51,7 +51,7 @@ func (c *commandFsVerify) Help() string {`}-func (c *commandFsVerify) IsResourceHeavy() bool {+func (c *commandFsVerify) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_lock_unlock.go b/weed/shell/command_lock_unlock.goindex a651c667e6..79f3c95b1d 100644--- a/weed/shell/command_lock_unlock.go+++ b/weed/shell/command_lock_unlock.go@@ -25,7 +25,7 @@ func (c *commandLock) Help() string {`}-func (c *commandLock) IsResourceHeavy() bool {+func (c *commandLock) HasTag(CommandTag) bool {return false}@@ -51,7 +51,7 @@ func (c *commandUnlock) Help() string {`}-func (c *commandUnlock) IsResourceHeavy() bool {+func (c *commandUnlock) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_mount_configure.go b/weed/shell/command_mount_configure.goindex 9b79c19bff..5b224c39e9 100644--- a/weed/shell/command_mount_configure.go+++ b/weed/shell/command_mount_configure.go@@ -34,7 +34,7 @@ func (c *commandMountConfigure) Help() string {`}-func (c *commandMountConfigure) IsResourceHeavy() bool {+func (c *commandMountConfigure) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_mq_balance.go b/weed/shell/command_mq_balance.goindex af79bba2d6..2e61e640c6 100644--- a/weed/shell/command_mq_balance.go+++ b/weed/shell/command_mq_balance.go@@ -25,7 +25,7 @@ func (c *commandMqBalanceTopics) Help() string {`}-func (c *commandMqBalanceTopics) IsResourceHeavy() bool {+func (c *commandMqBalanceTopics) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_mq_topic_configure.go b/weed/shell/command_mq_topic_configure.goindex 88b1cf2bae..9342c8604b 100644--- a/weed/shell/command_mq_topic_configure.go+++ b/weed/shell/command_mq_topic_configure.go@@ -29,7 +29,7 @@ func (c *commandMqTopicConfigure) Help() string {`}-func (c *commandMqTopicConfigure) IsResourceHeavy() bool {+func (c *commandMqTopicConfigure) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_mq_topic_desc.go b/weed/shell/command_mq_topic_desc.goindex bcaca7219c..8c944271c1 100644--- a/weed/shell/command_mq_topic_desc.go+++ b/weed/shell/command_mq_topic_desc.go@@ -24,7 +24,7 @@ func (c *commandMqTopicDescribe) Help() string {return `describe a topic`}-func (c *commandMqTopicDescribe) IsResourceHeavy() bool {+func (c *commandMqTopicDescribe) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_mq_topic_list.go b/weed/shell/command_mq_topic_list.goindex 009f6083bc..8da86f4a6e 100644--- a/weed/shell/command_mq_topic_list.go+++ b/weed/shell/command_mq_topic_list.go@@ -25,7 +25,7 @@ func (c *commandMqTopicList) Help() string {return `print out all topics`}-func (c *commandMqTopicList) IsResourceHeavy() bool {+func (c *commandMqTopicList) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.goindex b049686313..da19af0cf0 100644--- a/weed/shell/command_remote_cache.go+++ b/weed/shell/command_remote_cache.go@@ -46,7 +46,7 @@ func (c *commandRemoteCache) Help() string {`}-func (c *commandRemoteCache) IsResourceHeavy() bool {+func (c *commandRemoteCache) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.goindex 8502e7699b..dbc44c8bfe 100644--- a/weed/shell/command_remote_configure.go+++ b/weed/shell/command_remote_configure.go@@ -48,7 +48,7 @@ func (c *commandRemoteConfigure) Help() string {`}-func (c *commandRemoteConfigure) IsResourceHeavy() bool {+func (c *commandRemoteConfigure) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_meta_sync.go b/weed/shell/command_remote_meta_sync.goindex 7f205870e4..1b2e33c14c 100644--- a/weed/shell/command_remote_meta_sync.go+++ b/weed/shell/command_remote_meta_sync.go@@ -44,7 +44,7 @@ func (c *commandRemoteMetaSync) Help() string {`}-func (c *commandRemoteMetaSync) IsResourceHeavy() bool {+func (c *commandRemoteMetaSync) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.goindex 172a8df221..cfe89ddce1 100644--- a/weed/shell/command_remote_mount.go+++ b/weed/shell/command_remote_mount.go@@ -44,7 +44,7 @@ func (c *commandRemoteMount) Help() string {`}-func (c *commandRemoteMount) IsResourceHeavy() bool {+func (c *commandRemoteMount) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_mount_buckets.go b/weed/shell/command_remote_mount_buckets.goindex 4facb0ad77..d8df09e604 100644--- a/weed/shell/command_remote_mount_buckets.go+++ b/weed/shell/command_remote_mount_buckets.go@@ -38,7 +38,7 @@ func (c *commandRemoteMountBuckets) Help() string {`}-func (c *commandRemoteMountBuckets) IsResourceHeavy() bool {+func (c *commandRemoteMountBuckets) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.goindex b597b042ce..86d992ef1e 100644--- a/weed/shell/command_remote_uncache.go+++ b/weed/shell/command_remote_uncache.go@@ -41,7 +41,7 @@ func (c *commandRemoteUncache) Help() string {`}-func (c *commandRemoteUncache) IsResourceHeavy() bool {+func (c *commandRemoteUncache) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_remote_unmount.go b/weed/shell/command_remote_unmount.goindex c85a35c430..6de92e612b 100644--- a/weed/shell/command_remote_unmount.go+++ b/weed/shell/command_remote_unmount.go@@ -37,7 +37,7 @@ func (c *commandRemoteUnmount) Help() string {`}-func (c *commandRemoteUnmount) IsResourceHeavy() bool {+func (c *commandRemoteUnmount) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.goindex 97a434ab75..86c788b0d5 100644--- a/weed/shell/command_s3_bucket_create.go+++ b/weed/shell/command_s3_bucket_create.go@@ -30,7 +30,7 @@ func (c *commandS3BucketCreate) Help() string {`}-func (c *commandS3BucketCreate) IsResourceHeavy() bool {+func (c *commandS3BucketCreate) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_bucket_delete.go b/weed/shell/command_s3_bucket_delete.goindex 1afa80f414..6f8c9c4b5c 100644--- a/weed/shell/command_s3_bucket_delete.go+++ b/weed/shell/command_s3_bucket_delete.go@@ -28,7 +28,7 @@ func (c *commandS3BucketDelete) Help() string {`}-func (c *commandS3BucketDelete) IsResourceHeavy() bool {+func (c *commandS3BucketDelete) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_bucket_list.go b/weed/shell/command_s3_bucket_list.goindex aaabdf5da4..7939f20861 100644--- a/weed/shell/command_s3_bucket_list.go+++ b/weed/shell/command_s3_bucket_list.go@@ -27,7 +27,7 @@ func (c *commandS3BucketList) Help() string {`}-func (c *commandS3BucketList) IsResourceHeavy() bool {+func (c *commandS3BucketList) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_bucket_quota.go b/weed/shell/command_s3_bucket_quota.goindex 90bd685da9..3301a8d0e1 100644--- a/weed/shell/command_s3_bucket_quota.go+++ b/weed/shell/command_s3_bucket_quota.go@@ -28,7 +28,7 @@ func (c *commandS3BucketQuota) Help() string {`}-func (c *commandS3BucketQuota) IsResourceHeavy() bool {+func (c *commandS3BucketQuota) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_bucket_quota_check.go b/weed/shell/command_s3_bucket_quota_check.goindex db94e225d4..04708a0e75 100644--- a/weed/shell/command_s3_bucket_quota_check.go+++ b/weed/shell/command_s3_bucket_quota_check.go@@ -29,7 +29,7 @@ func (c *commandS3BucketQuotaEnforce) Help() string {`}-func (c *commandS3BucketQuotaEnforce) IsResourceHeavy() bool {+func (c *commandS3BucketQuotaEnforce) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_circuitbreaker.go b/weed/shell/command_s3_circuitbreaker.goindex 32ff5da351..5abc2d4298 100644--- a/weed/shell/command_s3_circuitbreaker.go+++ b/weed/shell/command_s3_circuitbreaker.go@@ -51,7 +51,7 @@ func (c *commandS3CircuitBreaker) Help() string {`}-func (c *commandS3CircuitBreaker) IsResourceHeavy() bool {+func (c *commandS3CircuitBreaker) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_clean_uploads.go b/weed/shell/command_s3_clean_uploads.goindex bee6b6bec1..aa296dd671 100644--- a/weed/shell/command_s3_clean_uploads.go+++ b/weed/shell/command_s3_clean_uploads.go@@ -34,7 +34,7 @@ func (c *commandS3CleanUploads) Help() string {`}-func (c *commandS3CleanUploads) IsResourceHeavy() bool {+func (c *commandS3CleanUploads) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_s3_configure.go b/weed/shell/command_s3_configure.goindex a92abe277b..0726bd1433 100644--- a/weed/shell/command_s3_configure.go+++ b/weed/shell/command_s3_configure.go@@ -33,7 +33,7 @@ func (c *commandS3Configure) Help() string {`}-func (c *commandS3Configure) IsResourceHeavy() bool {+func (c *commandS3Configure) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.goindex c452ba2b1c..bea6f33c3e 100644--- a/weed/shell/command_volume_balance.go+++ b/weed/shell/command_volume_balance.go@@ -64,7 +64,7 @@ func (c *commandVolumeBalance) Help() string {`}-func (c *commandVolumeBalance) IsResourceHeavy() bool {+func (c *commandVolumeBalance) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_check_disk.go b/weed/shell/command_volume_check_disk.goindex 08e457e9d6..f1f3a07280 100644--- a/weed/shell/command_volume_check_disk.go+++ b/weed/shell/command_volume_check_disk.go@@ -48,7 +48,7 @@ func (c *commandVolumeCheckDisk) Help() string {`}-func (c *commandVolumeCheckDisk) IsResourceHeavy() bool {+func (c *commandVolumeCheckDisk) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_configure_replication.go b/weed/shell/command_volume_configure_replication.goindex 37c8dda97f..29d7ebac46 100644--- a/weed/shell/command_volume_configure_replication.go+++ b/weed/shell/command_volume_configure_replication.go@@ -35,7 +35,7 @@ func (c *commandVolumeConfigureReplication) Help() string {`}-func (c *commandVolumeConfigureReplication) IsResourceHeavy() bool {+func (c *commandVolumeConfigureReplication) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.goindex 89339cb63d..be00cb18f6 100644--- a/weed/shell/command_volume_copy.go+++ b/weed/shell/command_volume_copy.go@@ -31,7 +31,7 @@ func (c *commandVolumeCopy) Help() string {`}-func (c *commandVolumeCopy) IsResourceHeavy() bool {+func (c *commandVolumeCopy) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_delete.go b/weed/shell/command_volume_delete.goindex 24391a2bda..719420bcc9 100644--- a/weed/shell/command_volume_delete.go+++ b/weed/shell/command_volume_delete.go@@ -29,7 +29,7 @@ func (c *commandVolumeDelete) Help() string {`}-func (c *commandVolumeDelete) IsResourceHeavy() bool {+func (c *commandVolumeDelete) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_delete_empty.go b/weed/shell/command_volume_delete_empty.goindex 7af922f45d..fc1d50e648 100644--- a/weed/shell/command_volume_delete_empty.go+++ b/weed/shell/command_volume_delete_empty.go@@ -32,7 +32,7 @@ func (c *commandVolumeDeleteEmpty) Help() string {`}-func (c *commandVolumeDeleteEmpty) IsResourceHeavy() bool {+func (c *commandVolumeDeleteEmpty) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.goindex 3d699fb13e..8337f53683 100644--- a/weed/shell/command_volume_fix_replication.go+++ b/weed/shell/command_volume_fix_replication.go@@ -55,7 +55,7 @@ func (c *commandVolumeFixReplication) Help() string {`}-func (c *commandVolumeFixReplication) IsResourceHeavy() bool {+func (c *commandVolumeFixReplication) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.goindex a465ac501b..89c15a8af8 100644--- a/weed/shell/command_volume_fsck.go+++ b/weed/shell/command_volume_fsck.go@@ -79,7 +79,7 @@ func (c *commandVolumeFsck) Help() string {`}-func (c *commandVolumeFsck) IsResourceHeavy() bool {+func (c *commandVolumeFsck) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_grow.go b/weed/shell/command_volume_grow.goindex dd3a26f2e5..5b351e6ab3 100644--- a/weed/shell/command_volume_grow.go+++ b/weed/shell/command_volume_grow.go@@ -30,7 +30,7 @@ func (c *commandGrow) Help() string {`}-func (c *commandGrow) IsResourceHeavy() bool {+func (c *commandGrow) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.goindex 3f22d691d5..1e5238f39b 100644--- a/weed/shell/command_volume_list.go+++ b/weed/shell/command_volume_list.go@@ -39,7 +39,7 @@ func (c *commandVolumeList) Help() string {`}-func (c *commandVolumeList) IsResourceHeavy() bool {+func (c *commandVolumeList) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_mark.go b/weed/shell/command_volume_mark.goindex 77a561e853..9bc35e6c16 100644--- a/weed/shell/command_volume_mark.go+++ b/weed/shell/command_volume_mark.go@@ -28,7 +28,7 @@ func (c *commandVolumeMark) Help() string {`}-func (c *commandVolumeMark) IsResourceHeavy() bool {+func (c *commandVolumeMark) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_mount.go b/weed/shell/command_volume_mount.goindex 8444ceee4f..0b62905de3 100644--- a/weed/shell/command_volume_mount.go+++ b/weed/shell/command_volume_mount.go@@ -33,7 +33,7 @@ func (c *commandVolumeMount) Help() string {`}-func (c *commandVolumeMount) IsResourceHeavy() bool {+func (c *commandVolumeMount) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_move.go b/weed/shell/command_volume_move.goindex 88eb2dbc56..cf99916955 100644--- a/weed/shell/command_volume_move.go+++ b/weed/shell/command_volume_move.go@@ -49,7 +49,7 @@ func (c *commandVolumeMove) Help() string {`}-func (c *commandVolumeMove) IsResourceHeavy() bool {+func (c *commandVolumeMove) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.goindex d74390d93a..3b593d9beb 100644--- a/weed/shell/command_volume_server_evacuate.go+++ b/weed/shell/command_volume_server_evacuate.go@@ -46,7 +46,7 @@ func (c *commandVolumeServerEvacuate) Help() string {`}-func (c *commandVolumeServerEvacuate) IsResourceHeavy() bool {+func (c *commandVolumeServerEvacuate) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_server_leave.go b/weed/shell/command_volume_server_leave.goindex 6958794046..e7c979cada 100644--- a/weed/shell/command_volume_server_leave.go+++ b/weed/shell/command_volume_server_leave.go@@ -35,7 +35,7 @@ func (c *commandVolumeServerLeave) Help() string {`}-func (c *commandVolumeServerLeave) IsResourceHeavy() bool {+func (c *commandVolumeServerLeave) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_tier_download.go b/weed/shell/command_volume_tier_download.goindex 6e195d7e84..2878d16fe2 100644--- a/weed/shell/command_volume_tier_download.go+++ b/weed/shell/command_volume_tier_download.go@@ -41,7 +41,7 @@ func (c *commandVolumeTierDownload) Help() string {`}-func (c *commandVolumeTierDownload) IsResourceHeavy() bool {+func (c *commandVolumeTierDownload) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_tier_move.go b/weed/shell/command_volume_tier_move.goindex 07ef3e6949..d5087f0ec5 100644--- a/weed/shell/command_volume_tier_move.go+++ b/weed/shell/command_volume_tier_move.go@@ -53,7 +53,7 @@ func (c *commandVolumeTierMove) Help() string {`}-func (c *commandVolumeTierMove) IsResourceHeavy() bool {+func (c *commandVolumeTierMove) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_tier_upload.go b/weed/shell/command_volume_tier_upload.goindex 3fa45ff955..5ef1c5209e 100644--- a/weed/shell/command_volume_tier_upload.go+++ b/weed/shell/command_volume_tier_upload.go@@ -56,7 +56,7 @@ func (c *commandVolumeTierUpload) Help() string {`}-func (c *commandVolumeTierUpload) IsResourceHeavy() bool {+func (c *commandVolumeTierUpload) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_unmount.go b/weed/shell/command_volume_unmount.goindex ce5cd18d63..ccb83bbaeb 100644--- a/weed/shell/command_volume_unmount.go+++ b/weed/shell/command_volume_unmount.go@@ -34,7 +34,7 @@ func (c *commandVolumeUnmount) Help() string {`}-func (c *commandVolumeUnmount) IsResourceHeavy() bool {+func (c *commandVolumeUnmount) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.goindex 2a99b0aca0..e55bf1ec92 100644--- a/weed/shell/command_volume_vacuum.go+++ b/weed/shell/command_volume_vacuum.go@@ -27,7 +27,7 @@ func (c *commandVacuum) Help() string {`}-func (c *commandVacuum) IsResourceHeavy() bool {+func (c *commandVacuum) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_vacuum_disable.go b/weed/shell/command_volume_vacuum_disable.goindex 87d5ff496b..15897ddb0c 100644--- a/weed/shell/command_volume_vacuum_disable.go+++ b/weed/shell/command_volume_vacuum_disable.go@@ -26,7 +26,7 @@ func (c *commandDisableVacuum) Help() string {`}-func (c *commandDisableVacuum) IsResourceHeavy() bool {+func (c *commandDisableVacuum) HasTag(CommandTag) bool {return false}diff --git a/weed/shell/command_volume_vacuum_enable.go b/weed/shell/command_volume_vacuum_enable.goindex 9f57086ae3..b8f779b143 100644--- a/weed/shell/command_volume_vacuum_enable.go+++ b/weed/shell/command_volume_vacuum_enable.go@@ -26,7 +26,7 @@ func (c *commandEnableVacuum) Help() string {`}-func (c *commandEnableVacuum) IsResourceHeavy() bool {+func (c *commandEnableVacuum) HasTag(CommandTag) bool {return false}