]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: add error message when log_record fails
authorYuval Lifshitz <ylifshit@ibm.com>
Thu, 11 Sep 2025 15:22:57 +0000 (15:22 +0000)
committerN Balachandran <nithya.balachandran@ibm.com>
Wed, 15 Apr 2026 03:45:32 +0000 (09:15 +0530)
commit66e5e5987e43bd6dd595dea9c2882e4d301708e5
tree100c5b20f5d3acb02526a4abe58d57c362580a18
parent23abf9548ae957c8b8c1df32f53c5b000c16a0a5
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>
(cherry picked from commit 263f13f27da61f8323a466769c46d81ea5237460)

 Conflicts:
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.h
src/rgw/rgw_rest_bucket_logging.cc