aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_rebuild_test.go
AgeCommit message (Collapse)AuthorFilesLines
2025-11-21Parallelize `ec.rebuild` operations per affected volume. (#7466)Lisandro Pin1-71/+21
* Parallelize `ec.rebuild` operations per affected volume. * node.freeEcSlot >= slotsNeeded * variable names, help messages, * Protected the read operation with the same mutex * accurate error message * fix broken test --------- Co-authored-by: chrislu <chris.lu@gmail.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2025-11-10Rework parameters passing for functions within `ec.rebuild` (#7445)Lisandro Pin1-0/+309
* Rework parameters passing for functions within `ec.rebuild` This simplifies the overall codebase and allows to cleanly handle parallelization via waitgroups. * fix copy source * add tests * remove tests not useful * fmt * nil check --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: chrislu <chris.lu@gmail.com>