From: Sage Weil Date: Thu, 6 Mar 2014 21:44:39 +0000 (-0800) Subject: os/ObjectStore: dump COLL_MOVE_RENAME X-Git-Tag: v0.78~71^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=237f0fb455afb31c6a4a808f82418db25c803e89;p=ceph.git os/ObjectStore: dump COLL_MOVE_RENAME This got missed way back in ef7cffc34f3bad4ffc090361ad9030a47584a3bf (pre-0.71). Signed-off-by: Sage Weil --- diff --git a/src/os/ObjectStore.cc b/src/os/ObjectStore.cc index 043b5dca7e9d..5b58c6f89bcf 100644 --- a/src/os/ObjectStore.cc +++ b/src/os/ObjectStore.cc @@ -490,6 +490,20 @@ void ObjectStore::Transaction::dump(ceph::Formatter *f) } break; + case Transaction::OP_COLL_MOVE_RENAME: + { + coll_t old_cid(i.get_cid()); + ghobject_t old_oid = i.get_oid(); + coll_t new_cid(i.get_cid()); + ghobject_t new_oid = i.get_oid(); + f->dump_string("op_name", "op_coll_move_rename"); + f->dump_stream("old_collection") << old_cid; + f->dump_stream("old_oid") << old_oid; + f->dump_stream("new_collection") << new_cid; + f->dump_stream("new_oid") << new_oid; + } + break; + case Transaction::OP_SETALLOCHINT: { coll_t cid = i.get_cid();