summaryrefslogtreecommitdiffstats
path: root/src/mon/Elector.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-08-28 23:18:16 +0200
committerSage Weil <sage@redhat.com>2017-09-06 16:18:05 +0200
commit33606aec2a68804a24e7aa61e535ea9bc6fde282 (patch)
tree26a9384c9e30ac74efb336fd4d0f1783adc5c1d3 /src/mon/Elector.cc
parentmon/PGMap: remove old PGMapUpdater methods (diff)
downloadceph-33606aec2a68804a24e7aa61e535ea9bc6fde282.tar.xz
ceph-33606aec2a68804a24e7aa61e535ea9bc6fde282.zip
mon/Elector: drop pre-luminous elector compat
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/mon/Elector.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mon/Elector.cc b/src/mon/Elector.cc
index f69bcf16d5a..6e38550e5f8 100644
--- a/src/mon/Elector.cc
+++ b/src/mon/Elector.cc
@@ -129,12 +129,6 @@ void Elector::defer(int who)
m->mon_features = ceph::features::mon::get_supported();
mon->collect_metadata(&m->metadata);
- // This field is unused completely in luminous, but jewel uses it to
- // determine whether we are a dumpling mon due to some crufty old
- // code. It only needs to see this buffer non-empty, so put
- // something useless there.
- m->sharing_bl = mon->get_local_commands_bl(mon->get_required_mon_features());
-
mon->messenger->send_message(m, mon->monmap->get_inst(who));
// set a timer