diff options
author | Alex <alex@adnab.me> | 2023-03-10 13:25:01 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-03-10 13:25:01 +0000 |
commit | 3325928c1327eb35201723013388ede2399f2350 (patch) | |
tree | 949f392d772dddac75b461c5e759060905ed2586 /src/block/manager.rs | |
parent | 9e061d5a70f35db7c62c79089567ef4dc226e413 (diff) | |
parent | d218f475cbe6450f0402424e01b99c4630cb8a2f (diff) | |
download | garage-3325928c1327eb35201723013388ede2399f2350.tar.gz garage-3325928c1327eb35201723013388ede2399f2350.zip |
Merge pull request 'block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub.' (#523) from jpds/garage:migrate-scrubworkerpersisted into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/523
Diffstat (limited to 'src/block/manager.rs')
-rw-r--r-- | src/block/manager.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs index bfa66069..26278974 100644 --- a/src/block/manager.rs +++ b/src/block/manager.rs @@ -152,6 +152,7 @@ impl BlockManager { tx_scrub_command: ArcSwapOption::new(None), }); block_manager.endpoint.set_handler(block_manager.clone()); + block_manager.scrub_persister.set_with(|_| ()).unwrap(); block_manager } |