summaryrefslogtreecommitdiffstats
path: root/src/mon/MonmapMonitor.cc
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-06-18 02:17:56 +0200
committerSage Weil <sage@inktank.com>2013-06-25 06:07:25 +0200
commitc47f271de0547f21ef97fd3d2c07608a278b3e83 (patch)
tree7033951235b16742ec709fd3e3087bda37a7d4d4 /src/mon/MonmapMonitor.cc
parentmon: make PaxosService::get_value() int return type 64-bit (diff)
downloadceph-c47f271de0547f21ef97fd3d2c07608a278b3e83.tar.xz
ceph-c47f271de0547f21ef97fd3d2c07608a278b3e83.zip
mon: fix mkfs monmap cleanup
exists_key(a,b) was looking for "monmap/mkfs/monmap". Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/mon/MonmapMonitor.cc')
-rw-r--r--src/mon/MonmapMonitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc
index aa9d94fd8cc..10faf093327 100644
--- a/src/mon/MonmapMonitor.cc
+++ b/src/mon/MonmapMonitor.cc
@@ -70,7 +70,7 @@ void MonmapMonitor::update_from_paxos(bool *need_bootstrap)
dout(10) << "update_from_paxos got " << version << dendl;
mon->monmap->decode(monmap_bl);
- if (exists_key("mkfs", get_service_name())) {
+ if (mon->store->exists("mkfs", get_service_name())) {
MonitorDBStore::Transaction t;
erase_mkfs(&t);
mon->store->apply_transaction(t);