(e == 0 || i->first > e)) e = i->first;
return e;
}
- epoch_t get_oldest() {
- return cluster_osdmap_trim_lower_bound;
- }
- epoch_t get_newest() {
- return newest_map;
- }
-
MOSDMap() : Message{CEPH_MSG_OSD_MAP, HEAD_VERSION, COMPAT_VERSION} { }
MOSDMap(const uuid_d &f, const uint64_t features)
logger->inc(l_osdc_map_full);
}
else {
- if (e >= m->get_oldest()) {
+ if (e >= m->cluster_osdmap_trim_lower_bound) {
ldout(cct, 3) << "handle_osd_map requesting missing epoch "
<< osdmap->get_epoch()+1 << dendl;
_maybe_request_map();
}
ldout(cct, 3) << "handle_osd_map missing epoch "
<< osdmap->get_epoch()+1
- << ", jumping to " << m->get_oldest() << dendl;
- e = m->get_oldest() - 1;
+ << ", jumping to "
+ << m->cluster_osdmap_trim_lower_bound << dendl;
+ e = m->cluster_osdmap_trim_lower_bound - 1;
skipped_map = true;
continue;
}