summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-29 17:10:09 -0700
committerSage Weil <sage@inktank.com>2013-07-29 17:10:09 -0700
commit634dcf3362a068b0b459cc64bd31db7768a1388b (patch)
treed72eaef123b2a6d08ff2d50056af510776d12f43
parentf7d1902ccf9d5bb97cda626d718c3bb02f991a6d (diff)
downloadceph-634dcf3362a068b0b459cc64bd31db7768a1388b.tar.gz
mon: drop useless sync_reset() calls
These are both right before bootstrap(), which also resets. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mon/Monitor.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index 92e6fa4ca76..3b19b514054 100644
--- a/src/mon/Monitor.cc
+++ b/src/mon/Monitor.cc
@@ -923,8 +923,6 @@ void Monitor::sync_finish(version_t last_committed)
t.erase("mon_sync", "last_committed_floor");
store->apply_transaction(t);
- sync_reset();
-
assert(g_conf->mon_sync_requester_kill_at != 9);
init_paxos();
@@ -1173,7 +1171,6 @@ void Monitor::handle_sync_chunk(MMonSync *m)
void Monitor::handle_sync_no_cookie(MMonSync *m)
{
dout(10) << __func__ << dendl;
- sync_reset();
bootstrap();
}