From a04525bebf032a520d32c6f1e3349c7f4720e263 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 11 Jul 2013 17:40:13 -0700 Subject: [PATCH] mon: fix sync_start doc Signed-off-by: Sage Weil --- src/mon/Monitor.cc | 8 -------- src/mon/Monitor.h | 10 ++++------ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 211b1a5d0ce..fb22f8d0dce 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -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; diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h index 4c27024dd20..310a75ecf39 100644 --- a/src/mon/Monitor.h +++ b/src/mon/Monitor.h @@ -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); -- 2.47.3