]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: add error message when log_record fails 65494/head
authorYuval Lifshitz <ylifshit@ibm.com>
Thu, 11 Sep 2025 15:22:57 +0000 (15:22 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Thu, 11 Sep 2025 15:22:57 +0000 (15:22 +0000)
commit263f13f27da61f8323a466769c46d81ea5237460
tree64bd13a4f6eae34fd7cf393578d2adcfc6b690cc
parentecc2be541f736fe2c75008dff97c41049ebfd2bd
rgw/logging: add error message when log_record fails

when log_record fails in journal mode due to issues in the target
bucket, the result code that the client get will be confusing, since
there is no indication that the issue is wit hte target bucket and not
the source bucket on which the client was operating.
the HTTP error message will be used to convey this information.

Fixes: https://tracker.ceph.com/issues/72543
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.h
src/rgw/rgw_rest_bucket_logging.cc