]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/notifications: fetch object state to get size, in rgw_lc.cc
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 15 Dec 2022 19:55:16 +0000 (14:55 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Apr 2023 13:46:55 +0000 (09:46 -0400)
commit4fe472e249026ca97ee878c77917cc1e0839ce20
tree8f905e5be087b0cb8ba388569f881e024d0e73e8
parent66f2427e85b86dcf72b8c311def3b942dddbecc6
rgw/notifications: fetch object state to get size, in rgw_lc.cc

Failure to call get_obj_state() leaves object size and other members
uninitialized, and appears to result in in lc delete notifications
with 0 for object size.

Fixes: https://tracker.ceph.com/issues/58287
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit b20a66767f782c06258fb0a5551ee45d6dccb91c)
src/rgw/rgw_lc.cc