aboutsummaryrefslogtreecommitdiff
path: root/src/garage/repair/online.rs
Commit message (Collapse)AuthorAgeFilesLines
* Uniform framework for bg variable managementAlex Auvolat2023-01-041-1/+5
|
* Make it explicit when using nonversioned encodingAlex Auvolat2023-01-031-2/+3
|
* cargo fmtAlex Auvolat2023-01-021-7/+8
|
* online repair workers: retry on errorAlex Auvolat2022-12-141-14/+10
|
* Simplified and more aggressive worker exit logicAlex Auvolat2022-12-141-2/+2
|
* Refactor background runner and get rid of job workerAlex Auvolat2022-12-141-12/+10
|
* Spawn all background workers in a separate stepAlex Auvolat2022-12-141-7/+8
|
* Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-121-4/+10
|
* Background task manager (#332)Alex2022-07-081-85/+137
| | | | | | | | | | | | | | | | | | | | | - [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>
* improve internal item counter mechanisms and implement bucket quotas (#326)Alex2022-06-151-0/+163
- [x] Refactoring of internal counting API - [x] Repair procedure for counters (it's an offline procedure!!!) - [x] New counter for objects in buckets - [x] Add quotas to buckets struct - [x] Add CLI to manage bucket quotas - [x] Add admin API to manage bucket quotas - [x] Apply quotas by adding checks on put operations - [x] Proof-read Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/326 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>