]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix sync_start doc
authorSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 00:40:13 +0000 (17:40 -0700)
committerSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 18:13:00 +0000 (11:13 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc
src/mon/Monitor.h

index 211b1a5d0cebb9f0018f4e955faf0e740151821f..fb22f8d0dcef00f3139fbb18621dcc870e047295 100644 (file)
@@ -820,14 +820,6 @@ void Monitor::sync_reset()
   sync_start_version = 0;
 }
 
-/**
- * Start sync process
- *
- * Start pulling committed state from another monitor.
- *
- * @param other Synchronization provider to-be.
- * @param whether to do a full sync or just catch up on recent paxos
- */
 void Monitor::sync_start(entity_inst_t &other, bool full)
 {
   dout(10) << __func__ << " " << other << (full ? " full" : " recent") << dendl;
index 4c27024dd203f26e61165f04bec5c1e713929bff..310a75ecf39e212cdba7ad768ca9d96d45f7c84b 100644 (file)
@@ -317,14 +317,12 @@ private:
   void sync_obtain_latest_monmap(bufferlist &bl);
 
   /**
-   * Start the synchronization efforts.
+   * Start sync process
    *
-   * This function should be called whenever we find the need to synchronize
-   * our store state with the remaining cluster.
+   * Start pulling committed state from another monitor.
    *
-   *
-   * @param entity An entity instance referring to the sync provider we picked.
-   * @param whether to sycn the full store, or just pull recent paxos commits
+   * @param entity where to pull committed state from
+   * @param full whether to do a full sync or just catch up on recent paxos
    */
   void sync_start(entity_inst_t &entity, bool full);