Skip to content

tentacle: rgw/dedup: backport full dedup, throttling, permissions, and versioning support - #70023

Open
benhanokh wants to merge 7 commits into
ceph:tentaclefrom
benhanokh:tentacle-dedup-backport
Open

benhanokh wants to merge 7 commits into
ceph:tentaclefrom
benhanokh:tentacle-dedup-backport

Conversation

@benhanokh

@benhanokh benhanokh commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

backport tracker: https://tracker.ceph.com/issues/76965
backport tracker: https://tracker.ceph.com/issues/74197
backport tracker: https://tracker.ceph.com/issues/73506
backport tracker: https://tracker.ceph.com/issues/78022
backport tracker: https://tracker.ceph.com/issues/78024
backport tracker: https://tracker.ceph.com/issues/78026
Backport of the following PRs from main to tentacle:

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@github-actions github-actions Bot added this to the tentacle milestone Jul 8, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
github-actions[bot]

This comment was marked as outdated.

@benhanokh benhanokh changed the title Tentacle dedup backport Tentacle: rgw/dedup: backport full dedup, throttling, permissions, and versioning support Jul 8, 2026
@benhanokh
benhanokh force-pushed the tentacle-dedup-backport branch from db882e3 to 84ef0bf Compare July 8, 2026 05:32
@benhanokh benhanokh removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
github-actions[bot]

This comment was marked as outdated.

@benhanokh
benhanokh force-pushed the tentacle-dedup-backport branch from 84ef0bf to f8e815d Compare July 8, 2026 06:09
@benhanokh benhanokh removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
github-actions[bot]

This comment was marked as outdated.

benhanokh and others added 2 commits July 8, 2026 09:17
…licate objects

will be deleted (until now they were only reported)

Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit b2d2787)
Fix sentence that had "different same" to just "different" (verified the
right one from the original author).

Remove colon at the end of section titles.

Remove rendered horizontal lines between sections.

Use double backticks for command name.

Use regular apostrophe in one sentence to be consistent with the rest.

Add missing full stop at the end of several sentences.

Very small language improvements in a few sentences.

Use consistent indent in one line.

Remove hyphens from many word pairs and don't capitalize few terms.
For consistency with rest of the docs.

Fix typos "spliting" to "splitting", "underlined" to "underlying".

Spell out "thousands" instead of using an apostrophe after the number.

Reformat table to use row separators like rest of the docs instead of
empty columns.
Separate number and unit with a space. Remove rendered underscores that
seemed to be an attempt to imprecisely align cell contents to right.

Signed-off-by: Ville Ojamo <[email protected]>
(cherry picked from commit 49c0fd0)
@benhanokh
benhanokh force-pushed the tentacle-dedup-backport branch from f8e815d to 414fd86 Compare July 8, 2026 06:23
@benhanokh benhanokh removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
github-actions[bot]

This comment was marked as outdated.

benhanokh added 5 commits July 8, 2026 09:37
Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit b5cbc46)
This is necessary to allow for the creation of intermediate SLAB objects on systems configured with Ceph authentication.

Remove bogus assert

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2401399

Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit a984ad8)
Signed-off-by: Gabriel BenHanokh <[email protected]>

rgw/dedup: Change throttle code to work lock free and remove the atomic
from the timestamp

Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit 58461e0)
Dedup code will scan all instances of versioned objects and include them
in the dedup process

Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit 00b3605)
Signed-off-by: Gabriel BenHanokh <[email protected]>
(cherry picked from commit 85079cf)
@benhanokh
benhanokh force-pushed the tentacle-dedup-backport branch from 414fd86 to 0f2a00b Compare July 8, 2026 06:37
@benhanokh benhanokh removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 2026
@benhanokh

Copy link
Copy Markdown
Contributor Author

@benhanokh
benhanokh marked this pull request as ready for review July 12, 2026 07:45
@benhanokh
benhanokh requested review from a team as code owners July 12, 2026 07:45
@adamemerson

Copy link
Copy Markdown
Contributor

Could we fix the test failures without a full backport of the feature?

@benhanokh

Copy link
Copy Markdown
Contributor Author

Could we fix the test failures without a full backport of the feature?

Fixing the issue manually might be possible, but then another issue might pop out.
The group commit brings tentacle to 9.0 level - a safe watermark which was thoroughly tested during 9.0 regression.

@anrao19

anrao19 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR has been added to tentacle integration testing by anuchaithra started 2026-08-05-06:31.

pr testing completed with new build and approved by @ivancich , more details : https://tracker.ceph.com/issues/79051
@benhanokh , if no further testing is needed then this pr can be merged

@adamemerson adamemerson changed the title Tentacle: rgw/dedup: backport full dedup, throttling, permissions, and versioning support tentacle: rgw/dedup: backport full dedup, throttling, permissions, and versioning support Aug 13, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Aug 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-override labels Aug 21, 2026

@github-actions github-actions Bot 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.

Ceph Release Engineering Audit Report

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Mismatched PR Link: Backport tracker #78670 points to PR #70545, not this backport PR #70023.

Automated Backport Parity Review - Multiple PRs Detected

This backport appears to pull commits from multiple main PRs including: PR #64271, PR #64526, PR #64730, PR #65783, PR #66233.

This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.


Automated Backport Parity Review - Scrambled Commits Detected

The backport contains commits that are scrambled or out of order relative to the original PR(s).

  • Commits from different original PRs are interleaved/scrambled together.

Backports should apply cherry-picks in the exact same chronological order as they were merged into the main branch to ensure clean history and avoid subtle regression risks.


Commit Parity Visualizer

BACKPORT PR #70023 SOURCE PR SOURCE STATUS
f9501ef rgw/dedup: tech preview for full object dedup support which means duplicate objects PR #64271 b2d2787 rgw/dedup: tech preview for full object dedup support which means duplicate objects
6bde4c8 rgw/dedup: Replace SHA256 with faster hash calculation using BLAKE3 b5cbc46 Replace SHA256 with faster hash calculation using BLAKE3
53caba4 doc/radosgw: Small improvements in s3_objects_dedup.rst PR #64526 49c0fd0 doc/radosgw: Small improvements in s3_objects_dedup.rst
8c56119 rgw/dedup: add throttling mechanism PR #64730 58461e0 rgw/dedup: add throttling mechanism
eb50f4c rgw/dedup: Grant dedup process full RGW permissions. PR #65783 a984ad8 rgw/dedup: Grant dedup process full RGW permissions.
78ae418 rgw/dedup: Add support for RGW versions. PR #66233 00b3605 rgw/dedup: Add support for RGW versions.
0f2a00b rgw/dedup: minor changes requested by reviewer 85079cf minor changes requested by reviewer

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport 6bde4c8 (cherry-pick of b5cbc46)

Affected File(s)

Range Diff

Click to expand
--- Original (b5cbc46f)
+++ Backport (6bde4c80)
@@ -1,3 +1,4 @@
-Replace SHA256 with faster hash calculation using BLAKE3
+rgw/dedup: Replace SHA256 with faster hash calculation using BLAKE3
 
 Signed-off-by: Gabriel BenHanokh <[email protected]>
+(cherry picked from commit b5cbc46fecc5c30b9680ed671e85505018dd3e1b)

================================================================================
RANGE DIFF
================================================================================

1:  b5cbc46fecc ! 1:  6bde4c806da Replace SHA256 with faster hash calculation using BLAKE3
    @@ Metadata
     Author: Gabriel BenHanokh <[email protected]>
     
      ## Commit message ##
    -    Replace SHA256 with faster hash calculation using BLAKE3
    +    rgw/dedup: Replace SHA256 with faster hash calculation using BLAKE3
     
         Signed-off-by: Gabriel BenHanokh <[email protected]>
    +    (cherry picked from commit b5cbc46fecc5c30b9680ed671e85505018dd3e1b)
     
      ## doc/radosgw/index.rst ##
     @@ doc/radosgw/index.rst: Cluster with one API and then retrieve that data with the other API.
    @@ doc/radosgw/s3_objects_dedup.rst
         Resumes a paused dedup session.
      - ``radosgw-admin dedup abort``:
         Aborts an active dedup session and release all resources used by it.
    --- ``radosgw-admin dedup estimate``:
    +-- ``radosgw-admin dedup estimate``
     -   Starts a new dedup estimate session (aborting first existing session if exists).
     +- ``radosgw-admin dedup stats``:
     +   Collects & displays last dedup statistics.
      
      ***************
      Skipped Objects
    -@@ doc/radosgw/s3_objects_dedup.rst: Dedup Estimate process skips the following objects:
    + ***************
    + Dedup Estimate process skips the following objects:
    + 
    +-- Objects smaller than 4MB (unless they are multipart).
    ++- Objects smaller than 4 MB (unless they are multipart).
    + - Objects with different placement rules.
      - Objects with different pools.
      - Objects with different storage classes.
      

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 21, 2026

@batrick batrick left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this seemingly large feature being backported to tentacle?

Backport commits should be grouped by PR (these are not).

Fix the redmine linkage please.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@adamemerson

Copy link
Copy Markdown
Contributor

@benhanokh Please do as Patrick requested.

@cbodley

cbodley commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

iirc, tentacle was only supposed to expose 'dedup estimate' so users could guage potential interest in the feature. if there are defects or limitations in that estimate command, maybe we're better off documenting them instead of trying to backport a ton of new stuff

@benhanokh

Copy link
Copy Markdown
Contributor Author

This PR group brings tentacle to the same level as 9.0 which was tested and found to be stable. Fixes were done one on top of another; It is harder and more risky to try to pick and choose parts of some PR to get into stable state; I don't have the bandwidth to validate them myself one by one; I suggest we either get this group which is byte identical to 9.0 or completely disable dedup in tentacle

@mattbenjamin

Copy link
Copy Markdown
Contributor

Why is this seemingly large feature being backported to tentacle?

Backport commits should be grouped by PR (these are not).

Fix the redmine linkage please.

It's not. It's addressing all of the gap between T and downstream 9.0.

@mattbenjamin

Copy link
Copy Markdown
Contributor

@adamemerson @cbodley we reviewed the situation in tuesday's rgw standup. It seems like a legitimate position to take the changes that bring T to parity with our 9.0 downstream--making dedup estimate safe and useful.

@supriti

supriti commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

To help reach a decision, sharing more datapoint :)
I hit a bug in tentacle sharing the tentacle issue here: https://tracker.ceph.com/issues/80514

@batrick

batrick commented Nov 24, 2026

Copy link
Copy Markdown
Member

Why is this seemingly large feature being backported to tentacle?
Backport commits should be grouped by PR (these are not).
Fix the redmine linkage please.

It's not. It's addressing all of the gap between T and downstream 9.0.

This is not a valid justification for a feature backport. If downstream providers want to backport and support a feature, that's their choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants