]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: invalidate max_failed_since on cancel_report 24281/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 6 Sep 2018 02:44:26 +0000 (10:44 +0800)
committerPrashant D <pdhange@redhat.com>
Tue, 25 Sep 2018 22:33:32 +0000 (18:33 -0400)
commit8044c3d8cd310bea8ea1079c32ba93dcb97c2073
treeb26d552293c075435cbb31f58ef3612f1a9341cc
parent02899bfda814146b021136e9d8e80eba494e1126
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>
(cherry picked from commit 91a2d408a9349db08e916e2145040df8b1f17e14)
src/mon/OSDMonitor.h