mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
mon/OSDMonitor: keep sending legacy create messages for now
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
7db0fd0a8d
commit
b626b4dcdc
@ -3343,7 +3343,14 @@ epoch_t OSDMonitor::send_pg_creates(int osd, Connection *con, epoch_t next) cons
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user