}
data.ops++;
}
- void collection_move(coll_t cid, coll_t oldcid, const ghobject_t& oid) {
+ void collection_move(coll_t cid, coll_t oldcid, const ghobject_t& oid)
+ __attribute__ ((deprecated)) {
// NOTE: we encode this as a fixed combo of ADD + REMOVE. they
// always appear together, so this is effectively a single MOVE.
if (use_tbl) {
t->clone_range(c, o1, o2, 1, 12, 99);
t->create_collection(c);
- t->collection_move(c, c2, o3);
+ t->collection_move_rename(c, o2, c2, o3);
t->remove_collection(c);
t->collection_setattr(c, string("this"), bl);
t->collection_rmattr(c, string("foo"));
ObjectStore::Transaction t;
note_txn(&t);
t.remove(new_coll, obj);
- t.collection_move(new_coll, orig_coll, obj);
+ t.collection_move_rename(orig_coll, obj, new_coll, obj);
m_store->apply_transaction(t);
}