Skip to content

squid: rgw/gc: mark rgw_gc_max_objs as startup-only - #68994

Merged
batrick merged 1 commit into
ceph:squidfrom
mheler:wip-76696-squid
Jul 28, 2026
Merged

batrick merged 1 commit into
ceph:squidfrom
mheler:wip-76696-squid

Conversation

@mheler

@mheler mheler commented May 19, 2026

Copy link
Copy Markdown
Contributor

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]>
(cherry picked from commit c3e5771)
@mheler
mheler requested a review from a team as a code owner May 19, 2026 11:31
@mheler mheler added this to the v16.2.15 milestone May 19, 2026
@mheler mheler added the rgw label May 19, 2026
@github-actions

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 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)
! 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)

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.

@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label May 19, 2026
@batrick batrick modified the milestones: v16.2.15, squid Jun 2, 2026
@mheler mheler modified the milestones: squid, v19.2.5 Jun 19, 2026
@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri-testing-20260622.143629-squid.

@anrao19

anrao19 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

pr testing completed and got approval from @ivancich, more detail's in : https://tracker.ceph.com/issues/77819.
@mheler , if no further testing is needed we can merge this pr

@anrao19

anrao19 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@batrick batrick modified the milestones: v19.2.5, v19.2.6 Jul 21, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 21, 2026
@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

@adamemerson @ivancich @cbodley

review please.

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

/config check ok

@yuriw yuriw added wip-yuri-testing ready-to-merge and removed ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. wip-yuri-testing labels Jul 28, 2026
@batrick
batrick merged commit 5febd6a into ceph:squid Jul 28, 2026
19 of 20 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.

5 participants