summaryrefslogtreecommitdiff
path: root/src/mon/OSDMonitor.h
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-07-23 16:21:46 +0100
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-07-23 16:21:46 +0100
commit2eb1bb2149ff9d194a30b162fd0ec5fc02003bf6 (patch)
tree9853ea954a971e3992d773b54eec7e2de4dbe9b5 /src/mon/OSDMonitor.h
parentc4eff45117a04c9c6f997cb2fbff210db0f2f01c (diff)
downloadceph-wip-5704-cuttlefish.tar.gz
mon: OSDMonitor: get rid of encode_full() as we don't use it.wip-5704-cuttlefish
We have delegated this to encode_trim_extra() since 7fb3804fb860dcd0340dd3f7c39eec4315f8e4b6 -- no need to keep this code around. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Diffstat (limited to 'src/mon/OSDMonitor.h')
-rw-r--r--src/mon/OSDMonitor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mon/OSDMonitor.h b/src/mon/OSDMonitor.h
index 98fb5954ae5..af76b2ef39b 100644
--- a/src/mon/OSDMonitor.h
+++ b/src/mon/OSDMonitor.h
@@ -148,10 +148,14 @@ private:
void update_from_paxos(bool *need_bootstrap);
void create_pending(); // prepare a new pending
void encode_pending(MonitorDBStore::Transaction *t);
- virtual void encode_full(MonitorDBStore::Transaction *t);
void on_active();
/**
+ * we don't let paxosservice stash our full maps, so we don't need this
+ * function at all.
+ */
+ virtual void encode_full(MonitorDBStore::Transaction *t) { }
+ /**
* do not let paxosservice periodically stash full osdmaps, or we will break our
* locally-managed full maps. (update_from_paxos loads the latest and writes them
* out going forward from there, but if we just synced that may mean we skip some.)