ghobject_t next;
while (1) {
vector<ghobject_t> objects;
- store->collection_list(*p, next, ghobject_t::get_max(),
+ store->collection_list(*p, next, ghobject_t::get_max(), true,
store->get_ideal_list_max(),
&objects, &next);
if (objects.empty())
SnapMapper mapper(&driver, 0, 0, 0, pgid.shard);
vector<ghobject_t> objects;
- store->collection_list(tmp, ghobject_t(), ghobject_t::get_max(), INT_MAX, &objects, 0);
+ store->collection_list(tmp, ghobject_t(), ghobject_t::get_max(), true,
+ INT_MAX, &objects, 0);
// delete them.
unsigned removed = 0;
coll,
next,
ghobject_t::get_max(),
+ true,
store->get_ideal_list_max(),
&olist,
&next);