diff --git a/weed/plugin/worker/erasure_coding_handler.go b/weed/plugin/worker/erasure_coding_handler.go index 45319c84e..21aee9339 100644 --- a/weed/plugin/worker/erasure_coding_handler.go +++ b/weed/plugin/worker/erasure_coding_handler.go @@ -42,6 +42,7 @@ func (h *ErasureCodingHandler) Capability() *plugin_pb.JobTypeCapability { MaxExecutionConcurrency: 1, DisplayName: "EC Encoding", Description: "Converts full and quiet volumes into EC shards", + Weight: 80, } } diff --git a/weed/plugin/worker/vacuum_handler.go b/weed/plugin/worker/vacuum_handler.go index fdb51b5fb..c2199e02f 100644 --- a/weed/plugin/worker/vacuum_handler.go +++ b/weed/plugin/worker/vacuum_handler.go @@ -55,6 +55,7 @@ func (h *VacuumHandler) Capability() *plugin_pb.JobTypeCapability { MaxExecutionConcurrency: maxExec, DisplayName: "Volume Vacuum", Description: "Reclaims disk space by removing deleted files from volumes", + Weight: 60, } } diff --git a/weed/plugin/worker/volume_balance_handler.go b/weed/plugin/worker/volume_balance_handler.go index 0b892a30b..1a31f8c24 100644 --- a/weed/plugin/worker/volume_balance_handler.go +++ b/weed/plugin/worker/volume_balance_handler.go @@ -44,6 +44,7 @@ func (h *VolumeBalanceHandler) Capability() *plugin_pb.JobTypeCapability { MaxExecutionConcurrency: 1, DisplayName: "Volume Balance", Description: "Moves volumes between servers to reduce skew in volume distribution", + Weight: 50, } }