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
Ability to dynamically set resync tranquility
All checks were successful
continuous-integration/drone/push Build is passing
943d76c583
block manager: refactor: split resync into separate file
All checks were successful
continuous-integration/drone/push Build is passing
47be652a1f
Make BlockManagerLocked fully private again
All checks were successful
continuous-integration/drone/push Build is passing
5e8baa433d
Ability to have up to 4 concurrently working resync workers
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
5d4b937a00
lx added 1 commit 2022-09-02 15:24:32 +00:00
fix clippy
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
e1751c8a9c
lx merged commit 0009fd136c into main 2022-09-05 10:35:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#369
No description provided.