]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: no_reply on MOSDFailure ops we eventually process 22568/head
authorSage Weil <sage@redhat.com>
Sun, 27 May 2018 14:55:04 +0000 (09:55 -0500)
committerPrashant D <pdhange@redhat.com>
Fri, 15 Jun 2018 02:37:43 +0000 (22:37 -0400)
Failure ops get attached to the failure report.  Once we finally process
them, mark them no_reply so that the forwarding mon will know about it.
The other paths through prepare_failure() do no_reply on the messages
that don't get logged in the failure_info_t::reporters.

Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit f6128e5b53cc8a6e1e97a66794806299c5190d3c)

src/mon/OSDMonitor.cc

index 2e5f99b736edcc43944c7cf748b1d4996c93df04..3e10a9db79610aceb58ef5874e74e1bb7d0cee86 100644 (file)
@@ -2257,6 +2257,7 @@ void OSDMonitor::process_failures()
           o->mark_event(__func__);
           MOSDFailure *m = o->get_req<MOSDFailure>();
           send_latest(o, m->get_epoch());
+         mon->no_reply(o);
         }
        ls.pop_front();
       }