aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-04-10 14:35:30 +0200
committerAlex Auvolat <alex@adnab.me>2024-04-10 14:35:30 +0200
commit90e3c2af915251720a4253f78f3f1b4ba844800d (patch)
tree1ae581de8942c41a7691fe40aa5b39cc460b84a1
parent50669b3e768f9c3570db0dae60927c16fdba3592 (diff)
downloadgarage-90e3c2af915251720a4253f78f3f1b4ba844800d.tar.gz
garage-90e3c2af915251720a4253f78f3f1b4ba844800d.zip
[next-0.10] small updates to mention Garage v0.9.4
-rw-r--r--doc/book/reference-manual/configuration.md2
-rw-r--r--doc/book/working-documents/migration-1.md2
-rw-r--r--src/db/open.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index 3202daf6..49bff05b 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -300,7 +300,7 @@ Since `v0.8.0`, Garage can use alternative storage backends as follows:
| [Sled](https://sled.rs) (old default, removed since `v1.0`) | `"sled"` | `<metadata_dir>/db/` |
Sled was supported until Garage v0.9.x, and was removed in Garage v1.0.
-You can still use an older binary of Garage (e.g. v0.9.3) to migrate
+You can still use an older binary of Garage (e.g. v0.9.4) to migrate
old Sled metadata databases to another engine.
Performance characteristics of the different DB engines are as follows:
diff --git a/doc/book/working-documents/migration-1.md b/doc/book/working-documents/migration-1.md
index 7b650b6c..2fb14ef9 100644
--- a/doc/book/working-documents/migration-1.md
+++ b/doc/book/working-documents/migration-1.md
@@ -44,7 +44,7 @@ The migration steps are as follows:
all data seems to be synced correctly between nodes. If you have time, do
additional `garage repair` procedures (`blocks`, `versions`, `block_refs`,
etc.)
-
+
2. Ensure you have a snapshot of your Garage installation that you can restore
to in case the upgrade goes wrong:
diff --git a/src/db/open.rs b/src/db/open.rs
index 19bc96cc..b8de3cd7 100644
--- a/src/db/open.rs
+++ b/src/db/open.rs
@@ -36,7 +36,7 @@ impl std::str::FromStr for Engine {
match text {
"lmdb" | "heed" => Ok(Self::Lmdb),
"sqlite" | "sqlite3" | "rusqlite" => Ok(Self::Sqlite),
- "sled" => Err(Error("Sled is no longer supported as a database engine. Converting your old metadata db can be done using an older Garage binary (e.g. v0.9.3).".into())),
+ "sled" => Err(Error("Sled is no longer supported as a database engine. Converting your old metadata db can be done using an older Garage binary (e.g. v0.9.4).".into())),
kind => Err(Error(
format!(
"Invalid DB engine: {} (options are: lmdb, sqlite)",