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: do not prime_pg_temp creating pgs; clean up pg create conditions #14913

merged 3 commits into from May 3, 2017


None yet
3 participants
Copy link

liewegas commented May 2, 2017

liewegas added some commits May 2, 2017

mon/OSDMonitor: fix prime_pg_temp vs creating condition
We want to *skip* creating PGs.

Signed-off-by: Sage Weil <>
osd: fix legacy pg create conditions
1- in reality we don't really care if pg_temp is set.
2- compare against acting_primary since that's what actually matters.

Signed-off-by: Sage Weil <>

@liewegas liewegas force-pushed the liewegas:wip-19826 branch from ce64851 to 3e53e47 May 2, 2017


This comment has been minimized.

mon/OSDMonitor: skip new pgs for prime_pg_temp
If the pg didn't previously exist we don't need to (and can't) prime
pg_temp for it.  This avoids crashing on mapping.get().

Signed-off-by: Sage Weil <>

This comment has been minimized.

Copy link
Member Author

liewegas commented May 3, 2017

pushed a fix

@tchaikov tchaikov merged commit 33cdc2a into ceph:master May 3, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Unmodifed Submodules submodules for project are unmodified
default Build finished.
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.