]> 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)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 16 Dec 2022 18:55:07 +0000 (13:55 -0500)
commitb20a66767f782c06258fb0a5551ee45d6dccb91c
treee23244c08c15e3e8518e32666c27509fb5ac64c2
parent032aaa1e39a30065045328d7752197b16c11b697
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>
src/rgw/rgw_lc.cc