]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: invalidate max_failed_since on cancel_report 23949/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 6 Sep 2018 02:44:26 +0000 (10:44 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 8 Sep 2018 01:45:16 +0000 (09:45 +0800)
commit91a2d408a9349db08e916e2145040df8b1f17e14
tree55834273173b1b455ee45a99aa414e7a828eed7b
parent42a518317afba58d6da91b530ab29b65ac64a39b
mon/OSDMonitor: invalidate max_failed_since on cancel_report

max_failed_since might reference the very failure-report which is to be
cancelled. We can simply invalidate it here to make **get_failed_since()**
recalculate if necessary.

Fixes: http://tracker.ceph.com/issues/35860
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.h