From: Loic Dachary Date: Wed, 4 Sep 2013 10:31:44 +0000 (+0200) Subject: mon: fix typo and remove redundant sentence X-Git-Tag: v0.71~170^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab69d9930912dda07ac415043c2ab829a3e01c55;p=ceph.git mon: fix typo and remove redundant sentence Signed-off-by: Loic Dachary --- diff --git a/src/mon/Paxos.h b/src/mon/Paxos.h index e22e74710a5..764c4fee404 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; /**