]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/Elector.h
update sources to v12.1.1
[ceph.git] / ceph / src / mon / Elector.h
index 2e407d29058258c92b3223a62ed40257b99275e3..b9e6310b5b881e0103a0669fefc27d702a1b7e8d 100644 (file)
@@ -47,9 +47,10 @@ class Elector {
    * mon-specific features. Instead of keeping maps to hold them both, or
    * a pair, which would be weird, a struct to keep them seems appropriate.
    */
-  struct elector_features_t {
+  struct elector_info_t {
     uint64_t cluster_features;
     mon_feature_t mon_features;
+    map<string,string> metadata;
   };
 
   /**
@@ -130,7 +131,7 @@ class Elector {
    * If we are acked by everyone in the MonMap, we will declare
    * victory.  Also note each peer's feature set.
    */
-  map<int, elector_features_t> acked_me;
+  map<int, elector_info_t> acked_me;
   /**
    * @}
    */