]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: invalidate max_failed_since on cancel_report 24257/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 6 Sep 2018 02:44:26 +0000 (10:44 +0800)
committerPrashant D <pdhange@redhat.com>
Mon, 24 Sep 2018 23:19:32 +0000 (19:19 -0400)
commitf495cac17f535e4ccb015d1efcb9c775e125c852
tree7e694ebaa9839f0f2f61bccdf3d2e5f9e464fde4
parent8b61511692965684a50aca3605d67f6c81c9a7cb
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