diff options
author | Alex <alex@adnab.me> | 2022-09-05 12:35:08 +0200 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-09-05 12:35:08 +0200 |
commit | 0009fd136c744944888df15d706ca08ca251aed7 (patch) | |
tree | c77f5299ac72bcb69c3832022fd3c05140489f7a /src/block/lib.rs | |
parent | 532eca7ff94e4710283fb38951a349a83654de59 (diff) | |
parent | e1751c8a9cb2a0d91b5aed636ee72ca4fa31ca68 (diff) | |
download | garage-0009fd136c744944888df15d706ca08ca251aed7.tar.gz garage-0009fd136c744944888df15d706ca08ca251aed7.zip |
Merge pull request 'Make block resync speed dynamically configurable' (#369) from resync-ajustable-speed into main
Included in this PR:
- [x] Small refactor, resync code is moved to a separate `block/resync.rs` file
- [x] Block resync tranquility is no longer in config file, it is set dynamically using `garage worker set resync-tranquility` (this parameter is persisted over Garage restarts)
- [x] Up to 4 block resync workers can be activated to run simultaneously to speed up big resyncs, this parameter is set dynamically using `garage worker set resync-n-workers`
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/369
Diffstat (limited to 'src/block/lib.rs')
-rw-r--r-- | src/block/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block/lib.rs b/src/block/lib.rs index ebdb95d8..d2814f77 100644 --- a/src/block/lib.rs +++ b/src/block/lib.rs @@ -3,6 +3,7 @@ extern crate tracing; pub mod manager; pub mod repair; +pub mod resync; mod block; mod metrics; |