]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/multi: Fix error handling in public Datalog APIs
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 15 Apr 2025 11:30:35 +0000 (07:30 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Aug 2025 18:48:52 +0000 (14:48 -0400)
commit3c77db72c0338b971ebb3c754fe52347923c0649
treed6f683ba3174e6671214e24d0761e4017095f3d3
parent53b6408ebf5dbf2998cd99876d99bceea8897095
rgw/multi: Fix error handling in public Datalog APIs

I had been thinking of list and trim as purely internal interfaces,
but they are called through HTTP and thus need to be prepared for bad
input.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 9d4968b4a075cb764b4139d864e0ec199890a89a)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/driver/rados/rgw_datalog.cc
src/rgw/driver/rados/rgw_datalog.h
src/rgw/driver/rados/rgw_rest_log.cc
src/rgw/radosgw-admin/radosgw-admin.cc