Skip to content

Backport/squid 19.2.6 cobaltcore storage/writelock - #17

Merged
uw-sc merged 6 commits into
squid-19.2.6-cobaltcore-storagefrom
backport/squid-19.2.6-cobaltcore-storage/writelock
Sep 25, 2026
Merged

uw-sc merged 6 commits into
squid-19.2.6-cobaltcore-storagefrom
backport/squid-19.2.6-cobaltcore-storage/writelock

Conversation

@mertsunacoglu

@mertsunacoglu mertsunacoglu commented Sep 24, 2026 •

Copy link
Copy Markdown

Closes cobaltcore-dev/cloud-storage#561

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.

@uw-sc uw-sc left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change first line of PR to :

Closes cobaltcore-dev/cloud-storage#561

Please add a DCO to:

DCO check would still fail, but that is because DCO and Author of commit 1e4dc4f aren't equal.

mertsunacoglu and others added 6 commits September 25, 2026 08:48
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: Emin Mert sunacoglu <[email protected]>
(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 <[email protected]>

Apply suggestion from @yuvalif

Co-authored-by: Yuval Lifshitz <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]>
(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 Mert Sunacoglu <[email protected]>
(cherry picked from commit fba3006)
Signed-off-by: Emin Mert Sunacoglu <[email protected]>
@mertsunacoglu
mertsunacoglu force-pushed the backport/squid-19.2.6-cobaltcore-storage/writelock branch from 7b0050e to 026f880 Compare September 25, 2026 08:49
@mertsunacoglu
mertsunacoglu requested a review from uw-sc September 25, 2026 08:50
@uw-sc
uw-sc merged commit 9e87e29 into squid-19.2.6-cobaltcore-storage Sep 25, 2026
4 checks passed
uw-sc added a commit that referenced this pull request Oct 14, 2026
Backport-Id: 01a0d3b1-e48a-7f08-ab0d-0a549f628691
Backport-PR: #17
Upstream-PRs: ceph#67219, ceph#67548, ceph#66065
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