From ab69d9930912dda07ac415043c2ab829a3e01c55 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 4 Sep 2013 12:31:44 +0200 Subject: [PATCH] mon: fix typo and remove redundant sentence Signed-off-by: Loic Dachary --- src/mon/Paxos.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mon/Paxos.h b/src/mon/Paxos.h index e22e74710a55..764c4fee4044 100644 --- a/src/mon/Paxos.h +++ b/src/mon/Paxos.h @@ -131,7 +131,7 @@ class Paxos; * This libary is based on the Paxos algorithm, but varies in a few key ways: * 1- Only a single new value is generated at a time, simplifying the recovery logic. * 2- Nodes track "committed" values, and share them generously (and trustingly) - * 3- A 'leasing' mechism is built-in, allowing nodes to determine when it is + * 3- A 'leasing' mechanism is built-in, allowing nodes to determine when it is * safe to "read" their copy of the last committed value. * * This provides a simple replication substrate that services can be built on top of. @@ -325,8 +325,7 @@ private: * * Instead of performing a full commit each time a read is requested, we * keep leases. Each lease will have an expiration date, which may or may - * not be extended. This member variable will keep when is the lease - * expiring. + * not be extended. */ utime_t lease_expire; /** -- 2.47.3