Skip to content

OSD: handle the case where we resurrected an old, deleted pg#4539

Merged
athanatos merged 1 commit intoceph:masterfrom
athanatos:wip-11429
May 4, 2015
Merged

OSD: handle the case where we resurrected an old, deleted pg#4539
athanatos merged 1 commit intoceph:masterfrom
athanatos:wip-11429

Conversation

@athanatos
Copy link
Contributor

Prior to giant, we would skip pgs in load_pgs which were not present in
the current osdmap. Those pgs would eventually refer to very old
osdmaps, which we no longer have causing the assertion failure in 11429
once the osd is finally upgraded to a version which does not skip the
pgs. Instead, if we do not have the map for the pg epoch, complain to
the osd log and skip the pg.

Fixes: 11429
Signed-off-by: Samuel Just sjust@redhat.com

Prior to giant, we would skip pgs in load_pgs which were not present in
the current osdmap.  Those pgs would eventually refer to very old
osdmaps, which we no longer have causing the assertion failure in 11429
once the osd is finally upgraded to a version which does not skip the
pgs.  Instead, if we do not have the map for the pg epoch, complain to
the osd log and skip the pg.

Fixes: 11429
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos
Copy link
Contributor Author

ceph-qa-suite and teuthology branches to follow

@athanatos
Copy link
Contributor Author

ceph-qa-suite: ceph/ceph-qa-suite#428
teuthology: ceph/teuthology#481

@loic-bot
Copy link

loic-bot commented May 4, 2015

athanatos pushed a commit that referenced this pull request May 4, 2015
OSD: handle the case where we resurrected an old, deleted pg

Reviewed-by: Sage Weil <sage@redhat.com>
@athanatos athanatos merged commit 4abacbe into ceph:master May 4, 2015
@athanatos athanatos deleted the wip-11429 branch May 4, 2015 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants