]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ProtocolV2.cc: Add more loggings to functions that needs them
authorKamoltat Sirivadhna <ksirivad@redhat.com>
Thu, 5 Jun 2025 20:14:57 +0000 (20:14 +0000)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 6 Jun 2025 19:15:26 +0000 (19:15 +0000)
Fixes: https://tracker.ceph.com/issues/71344
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
src/msg/async/ProtocolV2.cc

index 43e3208d6397529af3d8deb0d510423246dab83e..de5dc07868d63054a6fd467058472ab768cb20ff 100644 (file)
@@ -1894,6 +1894,7 @@ CtPtr ProtocolV2::handle_auth_done(ceph::bufferlist &payload)
 }
 
 CtPtr ProtocolV2::finish_client_auth() {
+  dout(cct, 20) << __func__ << dendl;
   if (HAVE_MSGR2_FEATURE(peer_supported_features, COMPRESSION)) {
     return send_compression_request();
   }
@@ -1902,6 +1903,7 @@ CtPtr ProtocolV2::finish_client_auth() {
 }
 
 CtPtr ProtocolV2::finish_server_auth() {
+  dout(cct, 20) << __func__ << dendl;
   // server had sent AuthDone and client responded with correct pre-auth
   // signature. 
   // We can start conditioanl msgr protocol
@@ -1918,10 +1920,12 @@ CtPtr ProtocolV2::finish_server_auth() {
 
 CtPtr ProtocolV2::start_session_connect() {
   if (!server_cookie) {
+    ldout(cct, 20) << __func__ << " starting a new session" << dendl;
     ceph_assert(connect_seq == 0);
     state = SESSION_CONNECTING;
     return send_client_ident();
   } else {  // reconnecting to previous session
+    ldout(cct, 20) << __func__ << " reconnecting to session" << dendl;
     state = SESSION_RECONNECTING;
     ceph_assert(connect_seq > 0);
     return send_reconnect();