]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/datalog: Manage and shutdown tasks properly 63698/head
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 30 Jun 2025 20:54:46 +0000 (16:54 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 6 Aug 2025 02:47:37 +0000 (22:47 -0400)
commitae89a562ee50f5e65b41f37563136f9d4f136ad8
tree16051f860fa5c4aa250afc5c9754acc721c24a61
parenta2d26647c011274b61805f8ac17c3422e9b9b63c
rgw/datalog: Manage and shutdown tasks properly

This is slightly ugly but good enough for now. Make sure we can block
when shutting down background tasks.

Remove a few `driver` parameters that are unused. This lets us
simplify the IAM Policy and Lua tests and not construct stores we
never use. (Which is good since we aren't running them under a cluster.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
23 files changed:
src/rgw/driver/rados/rgw_datalog.cc
src/rgw/driver/rados/rgw_datalog.h
src/rgw/driver/rados/rgw_log_backing.cc
src/rgw/driver/rados/rgw_log_backing.h
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/driver/rados/rgw_sal_rados.h
src/rgw/driver/rados/rgw_service.cc
src/rgw/driver/rados/rgw_service.h
src/rgw/rgw_appmain.cc
src/rgw/rgw_lua_background.cc
src/rgw/rgw_lua_background.h
src/rgw/rgw_lua_request.cc
src/rgw/rgw_lua_request.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_process.cc
src/rgw/rgw_process_env.h
src/rgw/rgw_rest.cc
src/rgw/rgw_sal.cc
src/rgw/rgw_sal.h
src/test/rgw/test_datalog.cc
src/test/rgw/test_rgw_iam_policy.cc
src/test/rgw/test_rgw_lua.cc