]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: no_reply on MOSDFailure ops we eventually process 22259/head
authorSage Weil <sage@redhat.com>
Sun, 27 May 2018 14:55:04 +0000 (09:55 -0500)
committerSage Weil <sage@redhat.com>
Tue, 29 May 2018 12:10:21 +0000 (07:10 -0500)
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>
src/mon/OSDMonitor.cc

index d30e3c4d12c92bc505a1a3e4701a36d58b67b2a3..1be9a8356314d9dd1b7197bf18041976fefce3a5 100644 (file)
@@ -2561,6 +2561,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();
       }