r = apply_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
}
- ch->flush();
{
bool empty;
int r = store->collection_empty(ch, &empty);
r = apply_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
}
- ch->flush();
{
bool empty;
int r = store->collection_empty(ch, &empty);
r = apply_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
}
- ch->flush();
{
set<ghobject_t> saw;
vector<ghobject_t> objects;
r = apply_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
}
- ch->flush();
{
ghobject_t end(hobject_t(sobject_t("object_100", CEPH_NOSNAP)),
ghobject_t::NO_GEN, shard_id_t(1));
r = apply_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
}
- ch->flush();
{
vector<ghobject_t> objects;
ghobject_t next, current;
ASSERT_TRUE(!store->stat(ch, *i, &buf));
}
- ch->flush();
-
set<ghobject_t> listed, listed2;
vector<ghobject_t> objects;
r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(), INT_MAX, &objects, 0);
}
void shutdown() {
while (1) {
- ch->flush();
vector<ghobject_t> objects;
int r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(),
10, &objects, 0);
}
void wait_for_done() {
- ch->flush();
Mutex::Locker locker(lock);
while (in_flight)
cond.Wait(lock);
EnterExit ee("scan");
while (in_flight)
cond.Wait(lock);
- ch->flush();
vector<ghobject_t> objects;
set<ghobject_t> objects_set, objects_set2;
ghobject_t next, current;
}
}
vector<ghobject_t> objects;
- ch->flush();
r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(), INT_MAX, &objects, 0);
ASSERT_EQ(r, 0);
set<ghobject_t> listed(objects.begin(), objects.end());
ASSERT_EQ(r, 0);
}
- ch->flush();
vector<ghobject_t> objects;
r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(),
INT_MAX, &objects, 0);
ASSERT_EQ(r, 0);
}
- ch->flush();
ObjectStore::Transaction t;
vector<ghobject_t> objects;
r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(),
}
}
- ch->flush();
objects.clear();
r = store->collection_list(tch, ghobject_t(), ghobject_t::get_max(),
INT_MAX, &objects, 0);
ASSERT_EQ(r, 0);
}
- ch->flush();
-
{
vector<ghobject_t> objects;
r = store->collection_list(ch, ghobject_t(), ghobject_t::get_max(),