]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/Connection: add warning/note on get_peer_global_id
authorSage Weil <sage@redhat.com>
Mon, 17 Dec 2018 19:15:00 +0000 (13:15 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
This field isn't populated for loopback connections because the msgr
doesn't have any insight into what global_id its user has.

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

index fa516e81025a14739c75a08ee4f2794dea1438b4..735c2b039f74ea3dd1d916fe2cf1cb398b64ce07 100644 (file)
@@ -153,6 +153,7 @@ public:
    */
   virtual void mark_disposable() = 0;
 
+  // WARNING / FIXME: this is not populated for loopback connections
   AuthCapsInfo& get_peer_caps_info() {
     return peer_caps_info;
   }