From: Ved-vampir Date: Fri, 20 Feb 2015 16:32:46 +0000 (+0300) Subject: mon: fix bug with counter name (win counter was inc-ed in lose func) X-Git-Tag: suse_latest~29^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3763%2Fhead;p=ceph.git mon: fix bug with counter name (win counter was inc-ed in lose func) Signed-off-by: Kiseleva Alyona akiselyova@mirantis.com --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index aecf1a40d49..39dfc73c09a 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -1875,7 +1875,7 @@ void Monitor::lose_election(epoch_t epoch, set &q, int l, uint64_t features (*p)->election_finished(); health_monitor->start(epoch); - logger->inc(l_mon_election_win); + logger->inc(l_mon_election_lose); finish_election(); }