]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedBackend: implement RPGTransaction
authorSamuel Just <sam.just@inktank.com>
Thu, 10 Oct 2013 23:12:10 +0000 (16:12 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 Jan 2014 22:39:15 +0000 (14:39 -0800)
commit5732f0c99dc4a6556235879a7188bba6b9543f5f
tree2419f538c54ec23fa36e2cded2262ee1ac806824
parentbf9390f3e205bce601acd67a693ef670bcce5c9c
ReplicatedBackend: implement RPGTransaction

RPGTransaction is essentially a wrapped ObjectStore::Transaction.
The coll_t argument is elided, tempness is instead encoded in the
hobject.  RPGTransaction tracks which temp objects are created and
cleared so we can update the ReplicatedBackend tracking and possibly
create the temp collection as needed.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h