aboutsummaryrefslogtreecommitdiff
path: root/src/model/k2v/rpc.rs
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2025-01-17 06:06:14 +0000
committermaximilien <me@mricher.fr>2025-01-17 06:06:14 +0000
commit294cb9940943d7febc1029ed44145daf57f914d0 (patch)
treebe9b2912ae92b07ef5e7905372b1bc2a542234c6 /src/model/k2v/rpc.rs
parent255b01b626096ef98cf24c9552b39c0372fb4eb3 (diff)
parent2eb9fcae20cb7e41b1197f4565db492a97f95736 (diff)
downloadgarage-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/model/k2v/rpc.rs')
-rw-r--r--src/model/k2v/rpc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/k2v/rpc.rs b/src/model/k2v/rpc.rs
index 4d7186a7..a1bf6ee0 100644
--- a/src/model/k2v/rpc.rs
+++ b/src/model/k2v/rpc.rs
@@ -310,7 +310,7 @@ impl K2VRpcHandler {
// - we have a response to a read quorum of requests (e.g. 2/3), and an extra delay
// has passed since the quorum was achieved
// - a global RPC timeout expired
- // The extra delay after a quorum was received is usefull if the third response was to
+ // The extra delay after a quorum was received is useful if the third response was to
// arrive during this short interval: this would allow us to consider all the data seen
// by that last node in the response we produce, and would likely help reduce the
// size of the seen marker that we will return (because we would have an info of the
@@ -500,7 +500,7 @@ impl K2VRpcHandler {
} else {
// If no seen marker was specified, we do not poll for anything.
// We return immediately with the set of known items (even if
- // it is empty), which will give the client an inital view of
+ // it is empty), which will give the client an initial view of
// the dataset and an initial seen marker for further
// PollRange calls.
self.poll_range_read_range(range, &RangeSeenMarker::default())