]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't send tail to gc if copying object to itself
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 22 Apr 2013 19:48:56 +0000 (12:48 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 22 Apr 2013 20:44:19 +0000 (13:44 -0700)
commitde5d1da810732ee48f41e8be18257053d862301b
tree25884faae19f1785976f52d79c54d75dc99fd81c
parentcec5282b2a6e25401b728f8997a1ad435c540d46
rgw: don't send tail to gc if copying object to itself

Fixes: #4776
Backport: bobtail
Need to make sure that when copying an object into itself we don't
send the tail to the garbage collection.

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