Project

General

Profile

Actions

Fix #3884

closed

osd: resurrect partially deleted PGs

Added by Sage Weil over 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

If a PG is in the process of getting removed and we repeer and discover we want to keep it, we currently block waiting for the removal to complete. This isn't very difficult to trigger by starting a rebalance (ceph osd out N) and then switching back (ceph osd in N).

Instead, we should resurrect the existing PG content.

Moving it completely out of the way is tricky because of leveldb. And in any case, resurrection is "ideal".

Actions

Also available in: Atom PDF