hobject_t ReplicatedPG::get_hit_set_current_object(utime_t stamp)
{
ostringstream ss;
- ss << "hit_set_" << info.pgid << "_current_" << stamp;
+ ss << "hit_set_" << info.pgid.pgid << "_current_" << stamp;
hobject_t hoid(sobject_t(ss.str(), CEPH_NOSNAP), "",
info.pgid.ps(), info.pgid.pool(),
cct->_conf->osd_hit_set_namespace);
hobject_t ReplicatedPG::get_hit_set_archive_object(utime_t start, utime_t end)
{
ostringstream ss;
- ss << "hit_set_" << info.pgid << "_archive_" << start << "_" << end;
+ ss << "hit_set_" << info.pgid.pgid << "_archive_" << start << "_" << end;
hobject_t hoid(sobject_t(ss.str(), CEPH_NOSNAP), "",
info.pgid.ps(), info.pgid.pool(),
cct->_conf->osd_hit_set_namespace);