Skip to content

Backport/squid 19.2.4 cobaltcore storage/writelock#6

Merged
irq0 merged 6 commits into
squid-19.2.4-cobaltcore-storagefrom
backport/squid-19.2.4-cobaltcore-storage/writelock
Jun 10, 2026
Merged

Backport/squid 19.2.4 cobaltcore storage/writelock#6
irq0 merged 6 commits into
squid-19.2.4-cobaltcore-storagefrom
backport/squid-19.2.4-cobaltcore-storage/writelock

Conversation

@irq0

@irq0 irq0 commented Jun 10, 2026

Copy link
Copy Markdown

Closes cobaltcore-dev/cloud-storage#465

Backport file

  • release-management/backports/<uuid>.md added (or updated) by this PR
  • id in frontmatter matches the filename stem
  • provenance.upstream_prs set (or provenance.type: other with an other: block)

Stage-B risk (filled per release-management/backports/RISK-RUBRIC.md)

  • blast — cosmetic / availability / data-loss
  • conflict — clean / trivial / substantive
  • coverage — strong / partial / weak
  • Risk-notes paragraph in the prose section (required for high band)

Merge

Land this via just merge-backport PR=<N> — do not click the green merge button.
The just recipe constructs the merge commit's Backport-Id trailer.

irq0 and others added 6 commits June 10, 2026 16:27
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>
(cherry picked from commit 68396f6)
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 <emin.sunacoglu@clyso.com>

Apply suggestion from @yuvalif

Co-authored-by: Yuval Lifshitz <yuvalif@yahoo.com>
Signed-off-by: Emin Mert Sunacoglu <33792101+mertsunacoglu@users.noreply.github.com>
(cherry picked from commit 6e09062)
Currently, the prerequest Lua context runs after authentication is done, but before the authorization. Because of this, bucket specific data like bucket tags and tenant info are not loaded yet into the environment when the prerequest script runs.

PR implements a new Lua hook after user is authorized and bucket context is ready, but before we handle the actual request.

Fixes: https://tracker.ceph.com/issues/75195

Signed-off-by: Emin Sunacoglu <emin.sunacoglu@clyso.com>
(cherry picked from commit fba3006)
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 08c8f3b6-a34f-4040-ad82-efc37c9bcf5f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch backport/squid-19.2.4-cobaltcore-storage/writelock

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@irq0
irq0 merged commit 0b421ab into squid-19.2.4-cobaltcore-storage Jun 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants