Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) #15066

Merged
merged 1 commit into from Jul 6, 2017

Conversation

asheplyakov
Copy link

when a callback is called, it could be facing a PG already shut down by
OSD. but if that callback wants to shut that PG down. it should check
the PG's status first.

Fixes: http://tracker.ceph.com/issues/19902
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f3c44a0)
@liewegas liewegas added this to the kraken milestone May 12, 2017
@smithfarm smithfarm added the core label May 12, 2017
@smithfarm smithfarm changed the title kraken: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) May 12, 2017
@smithfarm
Copy link
Contributor

Jenkins re-test this please

@smithfarm
Copy link
Contributor

Jenkins re-test this please (kraken "make check" is showing a high incidence of the "Unix Domain socket path too long" failure)

@smithfarm
Copy link
Contributor

@asheplyakov The make check failure has hopefully been fixed by #16069 - could you please rebase to pick it up?

@smithfarm smithfarm changed the title kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) [DNM] kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) Jul 3, 2017
@smithfarm smithfarm changed the title [DNM] kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) kraken: osd: osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) Jul 3, 2017
@smithfarm
Copy link
Contributor

Nevermind, rebase not necessary (Jenkins merges into latest base branch before starting the test).

Jenkins re-test this please

@smithfarm smithfarm requested a review from jdurgin July 5, 2017 16:40
@smithfarm
Copy link
Contributor

@jdurgin This passed a rados suite at http://tracker.ceph.com/issues/19009#note-51http://tracker.ceph.com/issues/19009#note-51 with two failures that I believe are unrelated. Please review/approve the PR if you agree it can be merged.

@smithfarm smithfarm merged commit 4ca8f1f into ceph:kraken Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants