diff --git a/Migrate-Maintenance-Scripts-to-Admin-Script-Plugin.md b/Migrate-Maintenance-Scripts-to-Admin-Script-Plugin.md index c461b1e..c9ee7d0 100644 --- a/Migrate-Maintenance-Scripts-to-Admin-Script-Plugin.md +++ b/Migrate-Maintenance-Scripts-to-Admin-Script-Plugin.md @@ -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. | diff --git a/Volume-Management.md b/Volume-Management.md index 8fade48..bbae383 100644 --- a/Volume-Management.md +++ b/Volume-Management.md @@ -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.