diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-08 14:11:02 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-08 14:11:02 +0100 |
commit | 44454aac012cbef9158110f2352301ffcfaf31c7 (patch) | |
tree | 7e1ff7a536c999811e6c4bf25851434507f4d5f7 /src/table/gc.rs | |
parent | 1ace34adbb05bb10cf7a2c8d0d2b84769ca797df (diff) | |
download | garage-44454aac012cbef9158110f2352301ffcfaf31c7.tar.gz garage-44454aac012cbef9158110f2352301ffcfaf31c7.zip |
[rm-sled] Remove the Sled database engine
Diffstat (limited to 'src/table/gc.rs')
-rw-r--r-- | src/table/gc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/table/gc.rs b/src/table/gc.rs index ef788749..65ad0c42 100644 --- a/src/table/gc.rs +++ b/src/table/gc.rs @@ -334,9 +334,9 @@ impl<F: TableSchema, R: TableReplication> Worker for GcWorker<F, R> { } } -/// An entry stored in the gc_todo Sled tree associated with the table +/// An entry stored in the gc_todo db tree associated with the table /// Contains helper function for parsing, saving, and removing -/// such entry in Sled +/// such entry in the db /// /// Format of an entry: /// - key = 8 bytes: timestamp of tombstone @@ -353,7 +353,7 @@ pub(crate) struct GcTodoEntry { } impl GcTodoEntry { - /// Creates a new GcTodoEntry (not saved in Sled) from its components: + /// Creates a new GcTodoEntry (not saved in the db) from its components: /// the key of an entry in the table, and the hash of the associated /// serialized value pub(crate) fn new(key: Vec<u8>, value_hash: Hash) -> Self { |