Project

General

Profile

Actions

Bug #2307

closed

OSD & Monitor disagree on the contents of pg_temp

Added by Greg Farnum about 12 years ago. Updated about 12 years ago.

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

0%

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

Description

See: http://marc.info/?t=133352732900001&r=1&w=2

It seems that (for example) pg 0.138 is in pg_temp, but the OSD can't find it when it goes looking. I obtained the maps from both, and their contents agree when you print them out, but when mapping the PG via --test-map-pg it doesn't contain the pg temp mapping. After a lot of looking, it turns out that the map has a pg_num of 8 and so the placement seed is getting inappropriately truncated (at least in the osdmaptool, and presumably on the OSD).

I suspect this is an encode/decode issue, but don't know for sure.

Actions

Also available in: Atom PDF