]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg: ceph_abort() when there are enough accepter errors in msg server
authorroot <penglaiyxy>
Mon, 30 Jul 2018 01:29:48 +0000 (21:29 -0400)
committerroot <penglaiyxy>
Thu, 2 Aug 2018 01:08:13 +0000 (21:08 -0400)
commit00e0ab407b2e9659d9121be1217e95c8117c411e
tree7620d67ebdc924a686894f1a15a18758d9c83113
parent3f01b63888fc366b78b72049da8acda5f3e7f373
msg: ceph_abort() when there are enough accepter errors in msg server
In some extrem cases(we have met one in our production cluster), when Accepter thread break out , new client can not connect to the osd. Because the former heartbeat connections are already connected, other osd can not detect failure then notify monitor to mark the failed osd down.
In the patch, we there are abnormal communication errors ,we just ceph_abort  so that osd can go down fastly and other osds can notify monitor to mark the failed osd down.
Signed-off-by: penglaiyxy@gmail.com <penglaiyxy@gmail.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/msg/async/AsyncMessenger.cc
src/msg/simple/Accepter.cc