]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rados: index transactions pass remove_objs to cancel() too
authorCasey Bodley <cbodley@redhat.com>
Tue, 9 Nov 2021 03:13:39 +0000 (22:13 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Feb 2023 19:29:58 +0000 (14:29 -0500)
commit5bd91f42e04402cce15b40c8ae6e6af20664abca
treeff40d46661831f310ed1d8e74c933218e383d5c1
parent8c67a931c9ef65ef5cbf1d23b4992cdee50060f5
rgw/rados: index transactions pass remove_objs to cancel() too

whenever an index transaction uses remove_objs for complete(), it also
needs to pass them for cancel() to avoid leaking index entries

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b848ccae96169ff697ab0eed5edf6e3e8f898eb7)

Conflicts:
src/rgw/rgw_rados.h 'using namespace std' not backported
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h