]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/Session.h
import ceph 15.2.11
[ceph.git] / ceph / src / mon / Session.h
index 140867a7ea95d9e47efaa8f3e9b090f4bb566597..bc4dfaba6ff1ec60624c2e51431b4050a21dceda 100644 (file)
@@ -64,6 +64,8 @@ struct MonSession : public RefCountedObject {
 
   AuthServiceHandler *auth_handler = nullptr;
   EntityName entity_name;
+  uint64_t global_id = 0;
+  global_id_status_t global_id_status = global_id_status_t::NONE;
 
   ConnectionRef proxy_con;
   uint64_t proxy_tid = 0;
@@ -123,6 +125,8 @@ struct MonSession : public RefCountedObject {
     f->dump_bool("open", !closed);
     f->dump_object("caps", caps);
     f->dump_bool("authenticated", authenticated);
+    f->dump_unsigned("global_id", global_id);
+    f->dump_stream("global_id_status") << global_id_status;
     f->dump_unsigned("osd_epoch", osd_epoch);
     f->dump_string("remote_host", remote_host);
   }