summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-04-23 17:58:31 +0100
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-04-23 17:58:31 +0100
commit8e177afee83c785d7afc2a320708990b99913966 (patch)
treee64ef3f9d1d6350ab525a84bc4056a001a029e56
parent879691f9fdb5b1eadd043d4a1ad3bc83a4648eb2 (diff)
downloadceph-8e177afee83c785d7afc2a320708990b99913966.tar.gz
ceph_mon_kvstore_fix: foo
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
-rw-r--r--src/mon_kvstore_fix.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mon_kvstore_fix.cc b/src/mon_kvstore_fix.cc
index e523bf086f3..afb8ecd9646 100644
--- a/src/mon_kvstore_fix.cc
+++ b/src/mon_kvstore_fix.cc
@@ -81,6 +81,10 @@ public:
return MonitorDBStore::exists(prefix, key);
}
+ virtual bool exists(const string &prefix, const version_t ver) {
+ return exists(prefix, stringify(ver));
+ }
+
virtual int apply_transaction(MonitorDBStore::Transaction &t) {
generic_dout(30) << "MemMonitorDBStore::apply_transaction()"
<< " " << t.ops.size() << " ops" << dendl;