New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw/lua: allow read access to object data #47719
Conversation
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs LGTM; we hashed these out in the previous PR. I did make one comment suggesting an additional word.
Approval is only for docs, not for code.
|
||
By default, all lua standard libraries are available in the script, however, in order to allow for other lua modules to be used in the script, we support adding packages to an allowlist: | ||
- ``prerequest`` which will execute a script before each operation is performed | ||
- ``postrequest`` which will execute after each operation is performed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest s/operation/RGW operation/
rgw::lua::Background* lua_background = nullptr; | ||
rgw::sal::LuaManager* lua_manager = nullptr; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
tethology results: http://pulpito.front.sepia.ceph.com/yuvalif-2022-08-22_03:34:48-rgw-wip-yuval-lua-filter2-distro-default-smithi/
|
|
will add a check for a null lua manager for the UTs |
teuthology results: http://pulpito.front.sepia.ceph.com/yuvalif-2022-08-30_18:21:43-rgw-wip-yuval-lua-filter2-distro-default-smithi/
|
i scheduled a --rerun, hoping these failures go away
pending in https://pulpito.ceph.com/cbodley-2022-09-01_12:48:08-rgw-wip-yuval-lua-filter2-distro-default-smithi |
looks like they passed the second time around 👍 |
i'm seeing a bunch of those test_librgw_file crashes in a recent run, https://pulpito.ceph.com/cbodley-2022-09-04_17:54:41-rgw-wip-cbodley-testing-distro-default-smithi/ the only 2 prs in that batch were #47905 and #47907 i schedule a run against main and see them there too https://pulpito.ceph.com/cbodley-2022-09-05_15:20:23-rgw-main-distro-default-smithi/ edit: opened https://tracker.ceph.com/issues/57441 |
@cbodley this is being fixed here: #47964 |
ty! |
Signed-off-by: Yuval Lifshitz ylifshit@redhat.com
this PR is to reintroduce the change from this PR: #46550
that was reverted in: #47612
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows