]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/MDSMap: init mds_features
authorSage Weil <sage@redhat.com>
Mon, 24 Jul 2017 20:25:32 +0000 (16:25 -0400)
committerSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 02:11:50 +0000 (22:11 -0400)
This can lead to ceph-dencoder reencode failures.  Doesn't matter too
much in the real world since body decodes these ancient mds_info_t
structs.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/MDSMap.h

index 0ac6f2b669243d5356b7a8f8f7152ea015005a2f..3c774c50c27754b7af47ef8aac35a3580001b69a 100644 (file)
@@ -135,7 +135,7 @@ public:
     fs_cluster_id_t standby_for_fscid;
     bool standby_replay;
     std::set<mds_rank_t> export_targets;
-    uint64_t mds_features;
+    uint64_t mds_features = 0;
 
     mds_info_t() : global_id(MDS_GID_NONE), rank(MDS_RANK_NONE), inc(0),
                    state(STATE_STANDBY), state_seq(0),