Repository navigation
RGW: Add Bucket metadata attribute for Lua scripts - #67219
Conversation
|
Can one of the admins verify this patch? |
14 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
d065c48 to
ceebe78
Compare
58b4262 to
fdda890
Compare
|
discussed in standup, hopefully we can expose just bucket tags (through the RGW_ATTR_TAGS attr) rather than all bucket attributes |
|
@cbodley I've updated the PR to expose the tags from RGW_ATTR_TAGS. |
|
Hi @yuvalif, following up on this PR. I've updated the branch recently. Could you let me know if there is anything else you need from me? |
found one issue. either use a "stateful iterator" or remove iteration support, if you do not need it for your usecase? |
|
I do not really need the iteration support for my use case. I just need the IndexClosure so I am removing it for now. WE can open a new PR for the iteration in the future if it is needed. |
bb9f67f to
ca88197
Compare
|
@mertsunacoglu please squash the commits |
Expose bucket tags (from RGW_ATTR_TAGS) to the RGW Lua Request.Bucket.Tags table, allowing lua scripts to read these tags. Fixes: https://tracker.ceph.com/issues/74756 Signed-off-by: Emin Sunacoglu <[email protected]> Apply suggestion from @yuvalif Co-authored-by: Yuval Lifshitz <[email protected]> Signed-off-by: Emin Mert Sunacoglu <[email protected]>
62f41ed to
6e09062
Compare
|
FYI, pr testing is in progress... |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
Pr testing completed. Tacker approved by @ivancich. More details : https://tracker.ceph.com/issues/75779 |
|
No further testing needed from my side. Thank you! I don't think I have the required permissions to merge this myself, so please go ahead when ready. |
Retroactive <uuid>.md for the Lua write-lock backport (postAuth hook, bucket tags, request blocking) already landed on this branch as merge commit 14149f3. Backport-Id: 019e92ed-d2cb-72c0-a34e-b5bf55eac620 Backport-Merge: 14149f3 Upstream-PRs: ceph#66065, ceph#67219, ceph#66567, ceph#67548
Backport-Id: 019eb1e8-4991-7231-abf9-77cb82dcb746 Backport-PR: #6 Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
Backport-Id: 01a0d3b1-e48a-7f08-ab0d-0a549f628691 Backport-PR: #17 Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
Backport-Id: 01a11b0e-da4d-7890-bfeb-43841f3aab2d Backport-PR: #24 Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
Backport-Id: 01a0d3b1-e48a-7f08-ab0d-0a549f628691 Backport-PR: #17 Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
Backport-Id: 01a14402-60b5-7b0e-9e40-46b110a790de Backport-PR: #32 Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
Fixes: https://tracker.ceph.com/issues/74756
This PR exposes bucket custom attributes (s->bucket_attrs) to the RGW Lua Request.Bucket.Metadata table.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.