We want to *skip* creating PGs.
Fixes: http://tracker.ceph.com/issues/19826
Signed-off-by: Sage Weil <sage@redhat.com>
{
if (mon->monmap->get_required_features().contains_all(
ceph::features::mon::FEATURE_LUMINOUS)) {
- if (!creating_pgs.pgs.count(pgid)) {
+ if (creating_pgs.pgs.count(pgid)) {
return;
}
} else {
const auto& pg_map = mon->pgmon()->pg_map;
- if (!pg_map.creating_pgs.count(pgid)) {
+ if (pg_map.creating_pgs.count(pgid)) {
return;
}
}