Project

General

Profile

Actions

Cleanup #1009

closed

osd: push pg message handling code into ReplicatedPG

Added by Sage Weil about 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

There is a lot of code in OSD.cc that does PG-specific work, mostly in the handle_pg_* message handlers. Those in turn funnel into OSD::_process_pg_info and then into ReplicatedPG methods in confusing ways.

Push all of that into ReplicatedPG by having thin message handlers in OSD.cc that simply get the PG* and pass the message content (log, missing, info, whatever) along.

Actions #1

Updated by Greg Farnum about 13 years ago

  • Translation missing: en.field_story_points set to 5
  • Translation missing: en.field_position set to 638
Actions #2

Updated by Greg Farnum about 13 years ago

  • Translation missing: en.field_position deleted (638)
  • Translation missing: en.field_position set to 1
Actions #3

Updated by Greg Farnum about 13 years ago

  • Assignee set to Samuel Just
Actions #4

Updated by Sage Weil almost 13 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF