]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: only keep track for cleanup of rados objects that were written
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 9 Jan 2015 18:23:35 +0000 (10:23 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Jan 2015 03:21:31 +0000 (19:21 -0800)
commit0b5d80337e11359f2b910ce5cead4490cc5ab35b
tree19862f26a2f6925fbf697c568be4098f5c5fdf96
parentce0ed6bb1988709e76525ada49e5da56a295f06d
rgw: only keep track for cleanup of rados objects that were written

Fixes: #10311
We're keeping track of rados objects that we've written so that we could
clean them up if needed. Earlier we weren't too accurate about it and
were also setting the head object that is yet to be written. This now
only applies to the tail data, and a bit clearer.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h