diff --git a/src/osd/PG.cc b/src/osd/PG.cc index ee092b61d25..03dc1c3152d 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5211,6 +5211,11 @@ void PG::start_peering_interval( dirty_info = true; dirty_big_info = true; info.history.same_interval_since = osdmap->get_epoch(); + if (info.pgid.pgid.is_split(lastmap->get_pg_num(info.pgid.pgid.pool()), + osdmap->get_pg_num(info.pgid.pgid.pool()), + nullptr)) { + info.history.last_epoch_split = osdmap->get_epoch(); + } } }