]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/mon: pending_messages should not be empty if active_conn
authorKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 08:18:20 +0000 (16:18 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 11:04:28 +0000 (19:04 +0800)
commitaea159c626b46b97ab13431c70f7ac399f7069d8
tree4dda209c29854f7c0a22869a58a8b2596da361d2
parent83d2e322a3a92e57197f2430fb173315a31f0d39
crimson/mon: pending_messages should not be empty if active_conn

we always send all pending_messages, and clear it when establishing a
connection to mon, so there is no need to check for it when calling
`send_message()`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc