void ReplicatedPG::hit_set_clear()
{
+ dout(20) << __func__ << dendl;
hit_set.reset(NULL);
hit_set_start_stats.reset(NULL);
hit_set_start_stamp = utime_t();
// make a copy of the params to modify
HitSet::Params params(pool.info.hit_set_params);
+ dout(20) << __func__ << " " << params << dendl;
if (pool.info.hit_set_params.get_type() == HitSet::TYPE_BLOOM) {
BloomHitSet::Params *p =
static_cast<BloomHitSet::Params*>(params.impl.get());
- dout(20) << __func__ << " " << params << " " << p << dendl;
// convert false positive rate so it holds up across the full period
p->set_fpp(p->get_fpp() / pool.info.hit_set_count);