aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_common.go
AgeCommit message (Expand)AuthorFilesLines
10 daysec: add -diskType flag to EC commands for SSD support (#7607)Chris Lu1-53/+73
2025-12-02Add disk-aware EC rebalancing (#7597)Chris Lu1-12/+178
2025-10-27Erasure Coding: Ec refactoring (#7396)Chris Lu1-4/+10
2025-08-23Shell: support regular expression for collection selection (#7158)Chris Lu1-0/+11
2025-08-07ec candidate selection needs to adjust same rack count compare (#7106)Chris Lu1-2/+2
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-1/+1
2025-05-12Move `shell.ErrorWaitGroup` into a common file, to cleanly reuse across `weed...Lisandro Pin1-56/+0
2025-05-09Improve safety for weed shell's `ec.encode`. (#6773)Lisandro Pin1-0/+8
2025-02-28`ec.encode`: Fix resolution of target collections. (#6585)Lisandro Pin1-2/+2
2025-02-28Fix calculation of node's free EC shard slots. (#6584)Lisandro Pin1-1/+7
2025-02-07Nit: remove missing newlines on `weed shell` commands output. (#6524)Lisandro Pin1-1/+1
2025-02-06Remove warning on EC balancing if no replica placement settings are found. (#...Lisandro Pin1-3/+0
2025-02-04Nit: fix missing newline on EC balancing warnings regarding replica settings ...Lisandro Pin1-1/+1
2025-01-30Improve EC shards balancing logic regarding replica placement settings. (#6491)Lisandro Pin1-4/+4
2025-01-29`ec.balance`: Allow EC balancing without collections. (#6488)Lisandro Pin1-4/+4
2025-01-29`ec.encode`: Display a warning on EC balancing if no replica placement settin...Lisandro Pin1-10/+18
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-1/+1
2024-12-18Allow configuring the maximum number of concurrent tasks for EC parallelizati...Lisandro Pin1-45/+48
2024-12-17Rework `shell.EcBalance()`'s waitgroup code into a standalone type. (#6373)Lisandro Pin1-54/+61
2024-12-15Parallelize EC shards balancing within racks (#6354)Lisandro Pin1-5/+5
2024-12-13Parallelize EC shards balancing across racks. (#6352)Lisandro Pin1-5/+6
2024-12-13Parallelize EC balancing for racks. (#6351)Lisandro Pin1-15/+15
2024-12-12Begin implementing EC balancing parallelization support. (#6342)Lisandro Pin1-7/+54
2024-12-12Limit EC re-balancing for `ec.encode` to relevant collections when a volume I...Lisandro Pin1-0/+41
2024-12-10Unify the re-balancing logic for `ec.encode` with `ec.balance`. (#6339)Lisandro Pin1-18/+108
2024-12-06Remove average constraints when selecting nodes/racks to balance EC shards in...Lisandro Pin1-37/+8
2024-12-05Share common parameters for EC re-balancing functions under a single struct. ...Lisandro Pin1-55/+63
2024-12-04Account for replication placement settings when balancing EC shards within th...Lisandro Pin1-10/+8
2024-12-04Account for replication placement settings when balancing EC shards across ra...Lisandro Pin1-7/+9
2024-12-02Resolve replica placement for EC volumes from master server defaults. (#6303)Lisandro Pin1-21/+46
2024-11-28Display details upon failures to re-balance EC shards racks. (#6299)Lisandro Pin1-11/+12
2024-11-27Improve EC shards rebalancing logic across nodes (#6297)Lisandro Pin1-21/+59
2024-11-21use math rand v2chrislu1-2/+2
2024-11-21Improve EC shards rebalancing logic across racks (#6270)Lisandro Pin1-20/+63
2024-11-19Unify usage of shell.EcNode.dc as DataCenterId. (#6258)Lisandro Pin1-6/+5
2024-11-18Introduce logic to resolve volume replica placement within EC rebalancing. (#...Lisandro Pin1-26/+44
2024-11-04Refactor `ec.balance` logic into a `weeed/shell/command_ec_common.go`… (#6195)Lisandro Pin1-1/+423
2023-09-25Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweed...chrislu1-4/+4
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-4/+4
2023-09-18Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 (#4850)dependabot[bot]1-4/+4
2022-10-09refactor to change capacity data typechrislu1-4/+0
2022-09-14refactor(shell): `Decending` -> `Descending` (#3675)Ryan Russell1-2/+2
2022-08-22shell: stop long running jobs if lock is lostchrislu1-0/+4
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-8/+8
2022-04-18enhancement: replace sort.Slice with slices.SortFunc to reduce reflectionjustin1-9/+8
2022-02-08ec.encode: calculate free ec slots based on (maxVolumeCount-volumeCount)chrislu1-1/+1
2022-02-08volume.balance: add delay during tight loopchrislu1-1/+1
2021-12-26use streaming mode for long poll grpc callschrislu1-4/+4
2021-09-12change server address from string to a typeChris Lu1-11/+15
2021-02-22refactoringChris Lu1-7/+4