aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-03-13 18:34:33 +0000
committerAlex <alex@adnab.me>2023-03-13 18:34:33 +0000
commit703ac43f1c7c0538ac72a06afc16ad182c3aaba1 (patch)
tree7ae124a8b7165edab933bc9649baf9c126e95c92 /src/block
parentd6ffa57f4054c41c37a06686330e0080f8243430 (diff)
parent000006d689d2d8075599fbe1653605566ae9d36e (diff)
downloadgarage-703ac43f1c7c0538ac72a06afc16ad182c3aaba1.tar.gz
garage-703ac43f1c7c0538ac72a06afc16ad182c3aaba1.zip
Merge pull request 'Prepare for v0.8.2' (#530) from prepare-v082 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/530
Diffstat (limited to 'src/block')
-rw-r--r--src/block/Cargo.toml10
-rw-r--r--src/block/repair.rs1
2 files changed, 6 insertions, 5 deletions
diff --git a/src/block/Cargo.toml b/src/block/Cargo.toml
index a7e8bc2c..c6985754 100644
--- a/src/block/Cargo.toml
+++ b/src/block/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "garage_block"
-version = "0.8.1"
+version = "0.8.2"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
@@ -14,10 +14,10 @@ path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-garage_db = { version = "0.8.1", path = "../db" }
-garage_rpc = { version = "0.8.1", path = "../rpc" }
-garage_util = { version = "0.8.1", path = "../util" }
-garage_table = { version = "0.8.1", path = "../table" }
+garage_db = { version = "0.8.2", path = "../db" }
+garage_rpc = { version = "0.8.2", path = "../rpc" }
+garage_util = { version = "0.8.2", path = "../util" }
+garage_table = { version = "0.8.2", path = "../table" }
opentelemetry = "0.17"
diff --git a/src/block/repair.rs b/src/block/repair.rs
index 5476bf8a..37ccd59a 100644
--- a/src/block/repair.rs
+++ b/src/block/repair.rs
@@ -189,6 +189,7 @@ mod v082 {
impl garage_util::migrate::Migrate for ScrubWorkerPersisted {
type Previous = v081::ScrubWorkerPersisted;
+ const VERSION_MARKER: &'static [u8] = b"G082bswp";
fn migrate(old: v081::ScrubWorkerPersisted) -> ScrubWorkerPersisted {
use crate::repair::randomize_next_scrub_run_time;