]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/monc: drop misleading comment about Connection::reply. 39673/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 24 Feb 2021 19:40:56 +0000 (19:40 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 1 Mar 2021 15:14:25 +0000 (15:14 +0000)
commit3573c5d50e4a7b9264a2927004d6b650a3acd2cd
tree2b8784ada04f0ef042c56b535dd5fa05ed085c24
parent3857bab8374d6ead870e5e9e6d2dc8fa9973501d
crimson/monc: drop misleading comment about Connection::reply.

Before the commit the `crimson::mon:Connection::reply`
was commented as being specific to the ProtocolV1.
However, the code suggests this member participates also
in V2-related paths like `Connection::renew_tickets()`
where `do_auth()` is called from. `do_auth()` generates
`MAuth` which causes a monitor to send `MAuthReply`.
The `Connection::reply` synchronizes sending the auth
request with response handling.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/mon/MonClient.cc