Skip to content

Commit

Permalink
mon: mark mgr reports and osd_failure as no_reply
Browse files Browse the repository at this point in the history
see also: #20517

Fixes: http://tracker.ceph.com/issues/22114
Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Mar 27, 2018
1 parent 6b59fbf commit 0daccfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mon/MgrStatMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ bool MgrStatMonitor::prepare_update(MonOpRequestRef op)

bool MgrStatMonitor::preprocess_report(MonOpRequestRef op)
{
mon->no_reply(op);
return false;
}

Expand Down
1 change: 1 addition & 0 deletions src/mon/OSDMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2106,6 +2106,7 @@ bool OSDMonitor::prepare_failure(MonOpRequestRef op)
mon->clog->debug() << m->get_target() << " reported immediately failed by "
<< m->get_orig_source_inst();
force_failure(target_osd, reporter);
mon->no_reply(op);
return true;
}
mon->clog->debug() << m->get_target() << " reported failed by "
Expand Down

0 comments on commit 0daccfb

Please sign in to comment.