crimson/net: add peer_global_id to Connection
authorYingxin Cheng <yingxincheng@gmail.com>
Mon, 11 Mar 2019 08:12:57 +0000 (16:12 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 5 Apr 2019 03:21:19 +0000 (11:21 +0800)
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
src/crimson/net/Connection.h

index b1b72c7463253217ef0231b749543f11a2fecd60..d69d32ab0a10528d0ad3c640a55d47b82cc8bf70 100644 (file)
@@ -29,6 +29,9 @@ class Connection : public seastar::enable_shared_from_this<Connection> {
   entity_addr_t peer_addr;
   peer_type_t peer_type = -1;
 
+ public:
+  uint64_t peer_global_id = 0;
+
  public:
   Connection() {}
   virtual ~Connection() {}