]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/lua: Add Lua functionality for blocking requests 66065/head
authormertsunacoglu <emin.sunacoglu@clyso.com>
Tue, 10 Feb 2026 12:33:14 +0000 (13:33 +0100)
committerEmin Mert Sunacoglu <emin.sunacoglu@clyso.com>
Fri, 13 Feb 2026 11:25:50 +0000 (12:25 +0100)
commit68396f6337b5bb91b7e31593754d0dc95b5e9135
treecc8bf5a6c324c1291cefd0bd7d9a67a8a7a31577
parent8fd21636ba43e08e2fea025691909127d185e637
rgw/lua: Add Lua functionality for blocking requests

Implements the feature for RGW to abort requests when the LUA scripts return a certain error code. This code is implemented in LUA as RGW_ABORT_REQUEST, and in RGW it is interpreted as -EPERM.

Fixes: https://tracker.ceph.com/issues/73485
Signed-off-by: mertsunacoglu <emin.sunacoglu@clyso.com>
doc/radosgw/lua-scripting.rst
src/rgw/rgw_lua_request.cc
src/rgw/rgw_lua_request.h
src/rgw/rgw_process.cc
src/test/rgw/lua/test_lua.py
src/test/rgw/test_rgw_lua.cc