]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: dec active connections when marked down
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 5 Apr 2019 23:04:14 +0000 (16:04 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 8 Apr 2019 18:42:12 +0000 (11:42 -0700)
commitd2d38ac858cb6d01b2744d2c0e3b6c0b532470d2
tree3c9c6078327bcd232479cf758bf3fbdcf8832ddb
parent7b03130e2a2db4a67f19759f78d20d3dd682f4eb
msg/async: dec active connections when marked down

Otherwise, tests can't tell when a connection is stopped until it's eventually
"lazily" deleted. This should be safe since the perf counter is manipulating an
atomic value.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/msg/async/AsyncMessenger.cc
src/msg/async/AsyncMessenger.h