Project

General

Profile

Actions

Bug #1184

closed

osd: snapset, pg info stats needs to be projected like obs

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

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We need a new_snapset to go along with new_obs in OpContext. And all the transaction code needs to be updated to match.

While we're at it, we should clean out stray object_info_t& oi = obs.oi; type references, so that we already go through the (audited) snapset or obs references.

Same goes for the pg stats, which are updated with byte/object counts.

Actions #1

Updated by Sage Weil almost 13 years ago

  • Subject changed from osd: snapset needs to be projected like obs to osd: snapset, pg info stats needs to be projected like obs
Actions #2

Updated by Sage Weil almost 13 years ago

also ObjectState& obs -> new_obs, so it's clear in the code this is the new, projected change.

each of these conversions (removing the unnecessary object_info_t& oi, renaming obs) should be a separate patch so that it's easy to review...

Actions #3

Updated by Sage Weil almost 13 years ago

  • Assignee set to Samuel Just
Actions #4

Updated by Sage Weil almost 13 years ago

  • Target version changed from v0.30 to v0.31
Actions #5

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 711
Actions #6

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_position deleted (711)
  • Translation missing: en.field_position set to 7
Actions #7

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_story_points set to 3
  • Translation missing: en.field_position deleted (7)
  • Translation missing: en.field_position set to 7
Actions #8

Updated by Sage Weil almost 13 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF