return lec.report(pg_num, pg.ps(), last_epoch_clean);
}
-epoch_t LastEpochClean::get_lower_bound(const OSDMap& latest) const
+epoch_t LastEpochClean::get_lower_bound_by_pool(const OSDMap& latest) const
{
auto floor = latest.get_epoch();
for (auto& pool : latest.get_pools()) {
epoch_t OSDMonitor::get_min_last_epoch_clean() const
{
- auto floor = last_epoch_clean.get_lower_bound(osdmap);
+ auto floor = last_epoch_clean.get_lower_bound_by_pool(osdmap);
// also scan osd epochs
// don't trim past the oldest reported osd epoch
for (auto [osd, epoch] : osd_epochs) {
public:
void report(unsigned pg_num, const pg_t& pg, epoch_t last_epoch_clean);
void remove_pool(uint64_t pool);
- epoch_t get_lower_bound(const OSDMap& latest) const;
+ epoch_t get_lower_bound_by_pool(const OSDMap& latest) const;
void dump(Formatter *f) const;
};