From: Jerry7X <875016668@qq.com> Date: Wed, 7 Jan 2015 06:29:02 +0000 (+0800) Subject: mon: encode stashed monmap with all features X-Git-Tag: v0.92~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc0dba526135ec064edce2ba420225a4e1617ad7;p=ceph.git mon: encode stashed monmap with all features latest_monmap that we stash is only used locally--the encoded bl is never shared. Which means we should just use CEPH_FEATURES_ALL all of the time. Fixes: #5203 Backport: giant, firefly Signed-off-by: Xie Rui <875016668@qq.com> Reviewed-by: Sage Weil Reviewed-by: Joao Eduardo Luis --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 78e2061fe6be..2b87309a69a2 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -1054,7 +1054,7 @@ void Monitor::sync_obtain_latest_monmap(bufferlist &bl) dout(1) << __func__ << " obtained monmap e" << latest_monmap.epoch << dendl; - latest_monmap.encode(bl, quorum_features); + latest_monmap.encode(bl, CEPH_FEATURES_ALL); } void Monitor::sync_reset_requester()