]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix typo and remove redundant sentence 555/head
authorLoic Dachary <loic@dachary.org>
Wed, 4 Sep 2013 10:31:44 +0000 (12:31 +0200)
committerLoic Dachary <loic@dachary.org>
Wed, 4 Sep 2013 10:34:23 +0000 (12:34 +0200)
Signed-off-by: Loic Dachary <loic@dachary.org>
src/mon/Paxos.h

index e22e74710a55de62cfca12b2c731c8fbff2b1181..764c4fee40443caba7dbacaa13d220dc0e2f6ba6 100644 (file)
@@ -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;
   /**