Project

General

Profile

Bug #10617

osd: pgs for deleted pools don't finish getting removed if osd restarts

Added by Sage Weil about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
giant,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ubuntu@teuthology:/a/sage-2015-01-23_06:28:59-rados:thrash-wip-txn-noappend-distro-basic-multi/718890

load_pgs ignores pgs if the pool doesn't exist. instead, it needs to queue them back up for deletion. and handle the case where the pg is instantiated but the osd pg_pool_t doesn't exist (use an empty pg_pool_t or something)


Related issues

Related to Ceph - Bug #11429: OSD::load_pgs: we need to handle the case where an upgrade from earlier versions which ignored non-existent pgs resurrects a pg with a prehistoric osdmap Resolved 04/20/2015

Associated revisions

Revision 879fd0c1 (diff)
Added by Sage Weil about 9 years ago

osd: do not ignore deleted pgs on startup

These need to get instantiated so that we can complete the removal process.

Fixes: #10617
Signed-off-by: Sage Weil <>

Revision 6fd3dfa7 (diff)
Added by Sage Weil about 9 years ago

osd: do not ignore deleted pgs on startup

These need to get instantiated so that we can complete the removal process.

Fixes: #10617
Signed-off-by: Sage Weil <>
(cherry picked from commit 879fd0c192f5d3c6afd36c2df359806ea95827b8)

Revision d5b1b7e5 (diff)
Added by Sage Weil about 9 years ago

osd: do not ignore deleted pgs on startup

These need to get instantiated so that we can complete the removal process.

Fixes: #10617
Signed-off-by: Sage Weil <>
(cherry picked from commit 879fd0c192f5d3c6afd36c2df359806ea95827b8)

History

#1 Updated by Sage Weil about 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

#2 Updated by Sage Weil about 9 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Sage Weil about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to giant,firefly

#5 Updated by Loïc Dachary about 9 years ago

d5b1b7e osd: do not ignore deleted pgs on startup (in giant), 6fd3dfa osd: do not ignore deleted pgs on startup (in firefly),

#6 Updated by Loïc Dachary about 9 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF