]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: do not return old failure report when updating it
authorKefu Chai <kchai@redhat.com>
Thu, 11 Mar 2021 09:47:50 +0000 (17:47 +0800)
committersinguliere <singuliere@autistici.org>
Thu, 1 Apr 2021 21:04:32 +0000 (23:04 +0200)
commit3f787dd6c0e75fa2095cf0eb55fa2019978d3c53
tree307144edc70653eb0631935452dea0f94d9b554c
parentc290d82357d0d8bf722e377e7c65a38ac6e17885
mon/OSDMonitor: do not return old failure report when updating it

there is no need to return stale report, as the caller is not interested
in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 09216c01be6f57938b1bdb491e45ecfb15a3f6c5)

 Conflicts:
src/mon/OSDMonitor.h
because auto in master was map<int, failure_reporter_t>::iterator
        in octopus
src/mon/OSDMonitor.h