MOSDPGCreate *oldm = nullptr; // for pre-mimic OSD compat
MOSDPGCreate2 *m = nullptr;
- bool old = !HAVE_FEATURE(con->get_features(), SERVER_MIMIC);
+
+ // for now, keep sending legacy creates. Until we sort out how to address
+ // racing mon create resends and splits, we are better off with the less
+ // drastic impacts of http://tracker.ceph.com/issues/22165. The legacy
+ // create message handling path in the OSD still does the old thing where
+ // the pg history is pregenerated and it's instantiated at the latest osdmap
+ // epoch; child pgs are simply not created.
+ bool old = true; // !HAVE_FEATURE(con->get_features(), SERVER_MIMIC);
epoch_t last = 0;
for (auto epoch_pgs = creating_pgs_by_epoch->second.lower_bound(next);