aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-08 14:11:02 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-08 14:11:02 +0100
commit44454aac012cbef9158110f2352301ffcfaf31c7 (patch)
tree7e1ff7a536c999811e6c4bf25851434507f4d5f7 /src/block
parent1ace34adbb05bb10cf7a2c8d0d2b84769ca797df (diff)
downloadgarage-44454aac012cbef9158110f2352301ffcfaf31c7.tar.gz
garage-44454aac012cbef9158110f2352301ffcfaf31c7.zip
[rm-sled] Remove the Sled database engine
Diffstat (limited to 'src/block')
-rw-r--r--src/block/resync.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/resync.rs b/src/block/resync.rs
index 15f210e4..2516ba08 100644
--- a/src/block/resync.rs
+++ b/src/block/resync.rs
@@ -180,7 +180,7 @@ impl BlockResyncManager {
// deleted once the garbage collection delay has passed.
//
// Here are some explanations on how the resync queue works.
- // There are two Sled trees that are used to have information
+ // There are two db trees that are used to have information
// about the status of blocks that need to be resynchronized:
//
// - resync.queue: a tree that is ordered first by a timestamp
@@ -541,9 +541,9 @@ impl Worker for ResyncWorker {
Ok(WorkerState::Idle)
}
Err(e) => {
- // The errors that we have here are only Sled errors
+ // The errors that we have here are only db errors
// We don't really know how to handle them so just ¯\_(ツ)_/¯
- // (there is kind of an assumption that Sled won't error on us,
+ // (there is kind of an assumption that the db won't error on us,
// if it does there is not much we can do -- TODO should we just panic?)
// Here we just give the error to the worker manager,
// it will print it to the logs and increment a counter