]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/mon: check for active_con before calling send_pendings()
authorKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 08:07:25 +0000 (16:07 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 11:04:28 +0000 (19:04 +0800)
commit83d2e322a3a92e57197f2430fb173315a31f0d39
tree29ce4f038c20a6ff3c46b3177f64702f98b9d473
parent4d0273d7fcac6372a4b169cbe6bbb364d7b320bf
crimson/mon: check for active_con before calling send_pendings()

before this change, we guard the `send_pendings()` call only in
`Client::send_message()`, after this change, all of the
`send_pendings()` calls are guarded with this check.

more consistent this way.

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