]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add hook for RGWOp subclasses to write custom metadata to ops logs
authorCory Snyder <csnyder@iland.com>
Fri, 15 Jul 2022 01:40:22 +0000 (21:40 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 28 Sep 2022 14:31:09 +0000 (10:31 -0400)
commitbe33b5d11e3b64356a0ef10a9795e6c33b7133dc
treeadf7f97007289b3ed5bab904b5a9d08a66b35cdf
parent7e4046bee20e5ec8eff870769f52c7a7421be421
rgw: add hook for RGWOp subclasses to write custom metadata to ops logs

Adds a write_ops_log_entry method to the RGWOp class to allow it's
subclasses an opportunity to modify the request ops log entry.

Signed-off-by: Cory Snyder <csnyder@iland.com>
src/rgw/librgw.cc
src/rgw/rgw_lib.cc
src/rgw/rgw_log.cc
src/rgw/rgw_log.h
src/rgw/rgw_lua_request.cc
src/rgw/rgw_lua_request.h
src/rgw/rgw_op.h
src/rgw/rgw_process.cc
src/rgw/rgw_rest_s3.cc
src/test/rgw/test_rgw_lua.cc