diff options
author | Sage Weil <sage@inktank.com> | 2013-06-18 02:17:56 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-25 06:07:25 +0200 |
commit | c47f271de0547f21ef97fd3d2c07608a278b3e83 (patch) | |
tree | 7033951235b16742ec709fd3e3087bda37a7d4d4 /src/mon/MonmapMonitor.cc | |
parent | mon: make PaxosService::get_value() int return type 64-bit (diff) | |
download | ceph-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.cc | 2 |
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); |