Skip to content

umbrella: rgw/restore: run shard hash through HASH_PRIME - #69606

Merged
neha-ojha merged 1 commit into
ceph:umbrellafrom
mheler:wip-77528-umbrella
Jun 30, 2026
Merged

neha-ojha merged 1 commit into
ceph:umbrellafrom
mheler:wip-77528-umbrella

Conversation

@mheler

@mheler mheler commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

backport tracker: https://tracker.ceph.com/issues/77528


backport of #69373
parent tracker: https://tracker.ceph.com/issues/77286

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

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)

choose_oid fed ceph_str_hash_linux straight into % max_objs, and the
low bits of that hash are weak enough that similar object names keep
landing on the same shard. LC takes the hash mod HASH_PRIME first for
exactly this reason, do the same here.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit d2e487a)
@mheler
mheler requested a review from a team as a code owner June 19, 2026 19:57
@mheler mheler added this to the umbrella milestone Jun 19, 2026
@mheler mheler modified the milestones: umbrella, v21.1.0 Jun 19, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jun 19, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

@yuriw

yuriw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri13-testing-20260624.215042-umbrella.

@soumyakoduri

Copy link
Copy Markdown
Contributor

jenkins test make check

@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

1 similar comment
@neha-ojha

Copy link
Copy Markdown
Member

jenkins test make check

@neha-ojha
neha-ojha merged commit 5f77cd8 into ceph:umbrella Jun 30, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa releng-audit-pass Release engineering: passed backport verification audit. rgw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants