summaryrefslogtreecommitdiff
path: root/src/mon/OSDMonitor.h
diff options
context:
space:
mode:
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.)