Skip to content

rgw/lc: warn against changing rgw_lc_max_objs once lifecycle is in use - #69528

Merged
mheler merged 1 commit into
ceph:mainfrom
mheler:wip-bug-77278
Jun 27, 2026
Merged

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

Conversation

@mheler

@mheler mheler commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

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

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 Jun 16, 2026 •

Copy link
Copy Markdown

Config Diff Tool Output

! changed: rgw_lc_max_objs: old: Number of RADOS objects to use for storing lifecycle index. This affects concurrency of lifecycle maintenance, as shards can be processed in parallel. (rgw.yaml.in)
! changed: rgw_lc_max_objs: new: Number of RADOS objects to use for storing lifecycle index. This affects concurrency of lifecycle maintenance, as shards can be processed in parallel. Do not change this value after deployment unless `radosgw-admin lc list` is 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.

@anthonyeleven anthonyeleven left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/warn/Warn/ please

Comment thread src/common/options/rgw.yaml.in Resolved
@anthonyeleven
anthonyeleven requested review from a team and removed request for a team June 18, 2026 01:46
Each bucket's lifecycle entry is hashed onto a shard by this count, so
changing it remaps existing entries and can leave duplicates behind.

Signed-off-by: Matthew N. Heler <[email protected]>
@mheler
mheler requested a review from cbodley June 18, 2026 02:40
@anthonyeleven

Copy link
Copy Markdown
Contributor

I suggest raising the level to dev, at Casey’s discretion.

For options file changes we need to add the needs-qa and core labels so that it gets a qa run before merge.

@cbodley

cbodley commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

For options file changes we need to add the needs-qa and core labels so that it gets a qa run before merge.

i don't see why rados qa would be necessary for config option changes. we do compile the options into ceph binaries, but 'make check's should be enough to validate that

@cbodley

cbodley commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@cbodley

cbodley commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

I suggest raising the level to dev, at Casey’s discretion.

@anthonyeleven i'm actually not sure what effect "dev" vs "advanced" has - are "dev" options hidden from the dashboard or something?

@anthonyeleven

Copy link
Copy Markdown
Contributor

I suggest raising the level to dev, at Casey’s discretion.

@anthonyeleven i'm actually not sure what effect "dev" vs "advanced" has - are "dev" options hidden from the dashboard or something?

I’m not sure about the dashboard. At the very least I thought it might deter idle tweaking.

@bluikko

bluikko commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

I suggest raising the level to dev, at Casey’s discretion.

@anthonyeleven i'm actually not sure what effect "dev" vs "advanced" has - are "dev" options hidden from the dashboard or something?

I’m not sure about the dashboard. At the very least I thought it might deter idle tweaking.

By default dashboard will display only "basic" options but it can be changed from a drop-down box to either "advanced" or "dev".

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