Skip to content

rgw/gc: mark rgw_gc_max_objs as startup-only - #68478

Merged
mheler merged 1 commit into
ceph:mainfrom
mheler:wip-bug-75958
May 19, 2026
Merged

mheler merged 1 commit into
ceph:mainfrom
mheler:wip-bug-75958

Conversation

@mheler

@mheler mheler commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

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

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 commented Apr 20, 2026 •

Copy link
Copy Markdown

Config Diff Tool Output

! changed: rgw_gc_max_objs: old:  (rgw.yaml.in)
! changed: rgw_gc_max_objs: new: ['startup'] (rgw.yaml.in)
! changed: rgw_gc_max_objs: old: The maximum number of objects that may be handled by garbage collection in one garbage collection processing cycle. Please do not change this value after the first deployment. (rgw.yaml.in)
! changed: rgw_gc_max_objs: new: The maximum number of objects that may be handled by garbage collection in one garbage collection processing cycle. This value can be increased after first deployment, please do not decrease this value without ensuring all data shards are completely empty. (rgw.yaml.in)
! changed: rgw_gc_max_objs: old: The number of garbage collector data shards, is the number of RADOS objects that RGW will use to store the garbage collection information on. (rgw.yaml.in)
! changed: rgw_gc_max_objs: new: The number of garbage collector data shards, is the number of RADOS objects that RGW will use to store the garbage collection information on. This value is read once at daemon startup. (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.

Raising rgw_gc_max_objs at runtime crashes the GC thread.

Reject runtime changes and size the IOManager vectors from the
stored max_objs.

Signed-off-by: Matthew N. Heler <[email protected]>
Comment thread src/common/options/rgw.yaml.in Resolved
@anrao19

anrao19 commented May 12, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented May 14, 2026

Copy link
Copy Markdown
Contributor

pr testing completed, and approved by @ivancich. More details in : https://tracker.ceph.com/issues/76521.
@mheler , if there is no further testing needed pr can be merged

@mheler
mheler merged commit 30e531c into ceph:main May 19, 2026
5 of 6 checks passed
@mheler
mheler deleted the wip-bug-75958 branch May 19, 2026 11:03
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