diff options
author | maximilien <me@mricher.fr> | 2025-01-17 06:06:14 +0000 |
---|---|---|
committer | maximilien <me@mricher.fr> | 2025-01-17 06:06:14 +0000 |
commit | 294cb9940943d7febc1029ed44145daf57f914d0 (patch) | |
tree | be9b2912ae92b07ef5e7905372b1bc2a542234c6 /src/table/gc.rs | |
parent | 255b01b626096ef98cf24c9552b39c0372fb4eb3 (diff) | |
parent | 2eb9fcae20cb7e41b1197f4565db492a97f95736 (diff) | |
download | garage-294cb9940943d7febc1029ed44145daf57f914d0.tar.gz garage-294cb9940943d7febc1029ed44145daf57f914d0.zip |
Merge pull request 'Fix all typos' (#928) from majst01/garage:fix-typos into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/928
Reviewed-by: maximilien <me@mricher.fr>
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 d30a1849..9e060390 100644 --- a/src/table/gc.rs +++ b/src/table/gc.rs @@ -258,14 +258,14 @@ impl<F: TableSchema, R: TableReplication> TableGc<F, R> { .await .err_context("GC: remote delete tombstones")?; - // GC has been successfull for all of these entries. + // GC has been successful for all of these entries. // We now remove them all from our local table and from the GC todo list. for item in items { self.data .delete_if_equal_hash(&item.key[..], item.value_hash) .err_context("GC: local delete tombstones")?; item.remove_if_equal(&self.data.gc_todo) - .err_context("GC: remove from todo list after successfull GC")?; + .err_context("GC: remove from todo list after successful GC")?; } Ok(()) @@ -383,7 +383,7 @@ impl GcTodoEntry { /// Removes the GcTodoEntry from the gc_todo tree if the /// hash of the serialized value is the same here as in the tree. - /// This is usefull to remove a todo entry only under the condition + /// This is useful to remove a todo entry only under the condition /// that it has not changed since the time it was read, i.e. /// what we have to do is still the same pub(crate) fn remove_if_equal(&self, gc_todo_tree: &db::Tree) -> Result<(), Error> { |