PastIntervals::PriorSet prior = past_intervals.get_prior_set(
pool.info.ec_pool(),
+ info.history.last_epoch_started,
get_pgbackend()->get_is_recoverable_predicate(),
*get_osdmap(),
up,
acting,
- info,
this);
if (prior.pg_down) {
PastIntervals::PriorSet::PriorSet(
const PastIntervals &past_intervals,
bool ec_pool,
+ epoch_t last_epoch_started,
IsPGRecoverablePredicate *c,
const OSDMap &osdmap,
const vector<int> &up,
const vector<int> &acting,
- const pg_info_t &info,
const DoutPrefixProvider *dpp)
: ec_pool(ec_pool), pg_down(false), pcontdec(c)
{
past_intervals.iterate_mayberw_back_to(
ec_pool,
- info.history.last_epoch_started,
+ last_epoch_started,
[&](epoch_t start, const set<pg_shard_t> &acting) {
ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start
<< ", acting: " << acting << dendl;
PriorSet(
const PastIntervals &past_intervals,
bool ec_pool,
+ epoch_t last_epoch_started,
IsPGRecoverablePredicate *c,
const OSDMap &osdmap,
const vector<int> &up,
const vector<int> &acting,
- const pg_info_t &info,
const DoutPrefixProvider *dpp);
friend class PastIntervals;