Make block resync speed dynamically configurable #369

Merged
lx merged 5 commits from resync-ajustable-speed into main 2022-09-05 10:35:09 +00:00
Owner

Included in this PR:

  • Small refactor, resync code is moved to a separate block/resync.rs file
  • 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)
  • 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
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`
lx added 4 commits 2022-09-02 15:20:55 +00:00
continuous-integration/drone/push Build is passing Details
943d76c583
Ability to dynamically set resync tranquility
continuous-integration/drone/push Build is passing Details
47be652a1f
block manager: refactor: split resync into separate file
continuous-integration/drone/push Build is passing Details
5e8baa433d
Make BlockManagerLocked fully private again
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
5d4b937a00
Ability to have up to 4 concurrently working resync workers
lx added 1 commit 2022-09-02 15:24:32 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
e1751c8a9c
fix clippy
lx merged commit 0009fd136c into main 2022-09-05 10:35:09 +00:00
Sign in to join this conversation.
No description provided.