]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: make send_heartbeat() atomic
authorYingxin Cheng <yingxin.cheng@intel.com>
Sat, 14 Mar 2020 10:34:19 +0000 (18:34 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 23 Mar 2020 05:00:15 +0000 (13:00 +0800)
commit373e16499efbcb9e0ede0fee0b009e399784eee5
tree7464df911626ddc0a4f1db355710377be10f3e8b
parent0c02f055d12536cd12b2c361f28d28131712c13a
crimson/osd: make send_heartbeat() atomic

The item in Heartbeat:peers could be removed/re-added during the
asynchronous operation.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/heartbeat.cc