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

mon: fix prime_pg_temp overrun #14979

Merged
merged 2 commits into from May 5, 2017

Conversation

Projects
None yet
2 participants
@liewegas
Copy link
Member

liewegas commented May 5, 2017

mon/OSDMonitor: fix prime_pg_temp condition
We have to make sure the *pg* exists, not just the pool, in the previous
map, or else we'll get a funky overrun in OSDMapMapping::get().

Signed-off-by: Sage Weil <sage@redhat.com>

@liewegas liewegas requested a review from tchaikov May 5, 2017

osd/OSDMapMapping: add assert
This is easier to debug than walking off into memory we don't own!

Signed-off-by: Sage Weil <sage@redhat.com>

@liewegas liewegas force-pushed the liewegas:wip-19874 branch from bc9852b to 8975660 May 5, 2017

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

@liewegas liewegas merged commit 952a7be into ceph:master May 5, 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

@liewegas liewegas deleted the liewegas:wip-19874 branch May 5, 2017

@liewegas

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.