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

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

Merged
merged 1 commit into from May 12, 2017

Conversation

Projects
None yet
3 participants
@tchaikov
Contributor

tchaikov commented May 11, 2017

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

osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)
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>
@badone

badone approved these changes May 11, 2017

Looks good as long as tests pass.

@tchaikov tchaikov added the needs-qa label May 11, 2017

@tchaikov tchaikov merged commit e08283a into ceph:master May 12, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@tchaikov tchaikov deleted the tchaikov:wip-19902 branch May 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment