Project

General

Profile

Fix #8018

OSD: check if messages are actually handled in ms_dispatch

Added by Greg Farnum over 5 years ago. Updated 5 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:

Description

OSD::ms_dispatch returns "true" no matter what happens. The _dispatch() function which does the real work doesn't even provide a return value. This means that messages which aren't handled never trigger any warning.

Fix this so that it actually makes sure the message is of a type it can (and has) handled, and return false if not.

History

#1 Updated by Patrick Donnelly 5 months ago

  • Project changed from Ceph to RADOS
  • Category deleted (OSD)
  • Start date deleted (04/07/2014)
  • Component(RADOS) OSD added

Also available in: Atom PDF