]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: disallow trans which atomically create and remove an object
authorSamuel Just <sam.just@inktank.com>
Mon, 17 Mar 2014 19:30:52 +0000 (12:30 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 17 Mar 2014 22:33:56 +0000 (15:33 -0700)
commit9ee108428176c93fe48ae5ae95b160eadabca9b6
tree4139a4bfaedbab964acbe524dc51a389f4369da8
parent35aed15f9ba0b8016d191f3b35be621771053508
ReplicatedPG: disallow trans which atomically create and remove an object

There are a few problems with such a transaction:
1) We don't really have a way to represent it in the log
2) How does it affect snaps?
3) In finish_ctx, it means we cannot assume that if we are saving snaps
on a snapdir we must be creating the snapdir.

For now, we'll just disallow such a transaction.

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