volume balance is already supported

Chris Lu
2026-03-04 20:47:47 -08:00
parent de34c81759
commit 09d1004740
2 changed files with 7 additions and 4 deletions
@@ -82,8 +82,8 @@ Compare your old `master.toml` scripts with the defaults above and customize as
| `lock` / `unlock` | **Remove.** The admin script worker handles locking automatically. |
| `ec.encode -fullPercent=95 -quietFor=1h` | **Remove.** This is now handled by the dedicated `erasure_coding` plugin worker, which detects and encodes eligible volumes automatically. Configure its thresholds (fullness ratio, quiet period, etc.) separately in the UI. |
| `ec.rebuild -apply` | Add to the admin script if you still want periodic EC shard repair via the script. |
| `ec.balance -apply` | Already in the default script. |
| `volume.balance -apply` | Add to the admin script if you had it. |
| `ec.balance -apply` | Already in the default admin script. |
| `volume.balance -apply` | **Remove.** This is now handled by the dedicated `volume_balance` plugin worker, which detects imbalanced servers and moves volumes automatically. Configure its settings separately in the UI. |
| `volume.fix.replication -apply` | Already in the default script. |
| `volume.deleteEmpty -quietFor=24h -apply` | Already in the default script. |
| `fs.log.purge -daysAgo=7` | Already in the default script. |
+5 -2
@@ -25,9 +25,12 @@ volume.fix.replication -apply
s3.clean.uploads -timeAgo=24h
```
The script and run interval (default: 17 minutes) are configurable from the admin UI at `/plugin`. You can customize commands, add `volume.balance`, etc. as needed.
The script and run interval (default: 17 minutes) are configurable from the admin UI at `/plugin`.
Erasure coding (previously `ec.encode`) is handled by a dedicated **`erasure_coding` plugin worker** that automatically detects and encodes eligible volumes. See [[Erasure Coding for warm storage]] for details.
Several commands that were previously part of the maintenance script now have dedicated plugin workers:
- **`ec.encode`** is replaced by the **`erasure_coding`** plugin worker. See [[Erasure Coding for warm storage]] for details.
- **`volume.balance`** is replaced by the **`volume_balance`** plugin worker, which detects imbalanced servers and moves volumes automatically.
See the [[Worker]] page for more details on `weed worker` options and capabilities.