Skip to content

rgw: Remove GC deferred entries options and code - #68713

Merged
nhoad merged 3 commits into
ceph:mainfrom
nhoad:remove-dead-gc-code
Jun 22, 2026
Merged

nhoad merged 3 commits into
ceph:mainfrom
nhoad:remove-dead-gc-code

Conversation

@nhoad

@nhoad nhoad commented May 1, 2026

Copy link
Copy Markdown
Contributor

This code has been disabled since v16.2.8.

This removes the rgw_gc_max_deferred_entries_size and rgw_gc_max_deferred options, as well as all the code that supports them.

Relevant links for more context on why these options and defer_gc were disabled:

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.

This code has been disabled since v16.2.8.

Signed-off-by: Nathan Hoad <[email protected]>
@github-actions

github-actions Bot commented May 1, 2026 •

Copy link
Copy Markdown

Config Diff Tool Output

- removed: rgw_gc_max_deferred_entries_size (rgw.yaml.in)
- removed: rgw_gc_max_deferred (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: old: ['osd_max_object_size', 'rgw_gc_max_deferred_entries_size'] (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: new: ['osd_max_object_size'] (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: old: 131068_K (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: new: 134068_K (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: old: The maximum allowed size of each gc queue, and its value should not be greater than (osd_max_object_size - rgw_gc_max_deferred_entries_size - 1K). (rgw.yaml.in)
! changed: rgw_gc_max_queue_size: new: The maximum allowed size of each gc queue, and its value should not be greater than osd_max_object_size - 1K. (rgw.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@nhoad
nhoad force-pushed the remove-dead-gc-code branch from ea05b2b to ceabc96 Compare May 1, 2026 13:19
@nhoad

nhoad commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

/config check ok

@nhoad

nhoad commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

Comment thread src/common/options/rgw.yaml.in Resolved
This should be 1KB short of the maximum, not 3MB over.

Signed-off-by: Nathan Hoad <[email protected]>
@cbodley
cbodley requested a review from pritha-srivastava May 19, 2026 13:53
@pritha-srivastava

pritha-srivastava commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Looks good to me. Once this passes qa, I'll aprove it. I have added needs-qa label to the PR

@nhoad

nhoad commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @pritha-srivastava! All green on the CI tests :) https://shaman.ceph.com/builds/ceph/remove-dead-gc-code/

@anrao19

anrao19 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/77460.
@nhoad, if no further testing is need. This pr can be merged

1 similar comment
@anrao19

anrao19 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/77460.
@nhoad, if no further testing is need. This pr can be merged

@nhoad

nhoad commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Awesome, thank you!!

@nhoad
nhoad merged commit 9cce928 into ceph:main Jun 22, 2026
6 checks passed
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.

4 participants