aboutsummaryrefslogtreecommitdiff
path: root/src/block/repair.rs
Commit message (Collapse)AuthorAgeFilesLines
* block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub.Jonathan Davies2023-03-091-10/+44
| | | | Fixes: #520.
* block/repair.rs: Added function and time_next_run_scrub with a random element ofJonathan Davies2023-03-061-11/+37
| | | | 10 days to SCRUB_INTERVAL to help balance scrub load across cluster.
* More clippy fixesAlex Auvolat2023-01-261-2/+2
|
* Uniform framework for bg variable managementAlex Auvolat2023-01-041-34/+38
|
* Refactor how things are migratedAlex Auvolat2023-01-031-0/+1
|
* Simplified and more aggressive worker exit logicAlex Auvolat2022-12-141-2/+2
|
* cli: new worker info commandAlex Auvolat2022-12-131-5/+8
|
* Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-121-24/+31
|
* block manager: refactor: split resync into separate fileAlex Auvolat2022-09-021-2/+6
|
* Ability to dynamically set resync tranquilityAlex Auvolat2022-09-021-4/+22
|
* Background task manager (#332)Alex2022-07-081-0/+444
- [x] New background worker trait - [x] Adapt all current workers to use new API - [x] Command to list currently running workers, and whether they are active, idle, or dead - [x] Error reporting - Optimizations - [x] Merkle updater: several items per iteration - [ ] Use `tokio::task::spawn_blocking` where appropriate so that CPU-intensive tasks don't block other things going on - scrub: - [x] have only one worker with a channel to start/pause/cancel - [x] automatic scrub - [x] ability to view and change tranquility from CLI - [x] persistence of a few info - [ ] Testing Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/332 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>