]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/datalog: Manage and shutdown tasks properly
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 30 Jun 2025 20:54:46 +0000 (16:54 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 9 Sep 2025 04:55:45 +0000 (00:55 -0400)
commitbf15e94637c516df251ceb290be61f0b23c96b56
treed7a8cbd1676ed2524fd061914fce3753abe03408
parente67ed1df4bcfc628da041f33bf0445ad170fc041
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>
(cherry picked from commit 3def99eec5df353a0fb34be79d9e98a08eb05985)

Conflicts:
src/rgw/driver/rados/rgw_service.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal.cc
 - `#ifdef` changes
src/test/rgw/test_rgw_iam_policy.cc
src/test/rgw/test_rgw_lua.cc
 - SAL renaming

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