* punching the tenant through the objexp_hint_entry, but now we
* find that our instances do not actually have tenants. They are
* unique thanks to IDs. So the tenant string is not needed...
+
+ * XXX reloaded: it turns out tenants were needed after all since bucket ids
+ * are ephemeral, good call encoding tenant info!
*/
- const string bucket_instance_id = bucket_name + ":" + bucket_id;
- int ret = store->get_bucket_instance_info(obj_ctx, bucket_instance_id,
- bucket_info, NULL, NULL);
- return ret;
+
+ return store->get_bucket_info(obj_ctx, tenant_name, bucket_name,
+ bucket_info, nullptr, nullptr);
+
}
int RGWObjectExpirer::garbage_single_object(objexp_hint_entry& hint)