Skip to content

qa/rados: Defer pg splits in morepggrow while the cluster is degraded - #72990

Merged
ljflores merged 1 commit into
ceph:mainfrom
amathuria:wip-amat-test-morepggrow-recovery
Nov 11, 2026
Merged

ljflores merged 1 commit into
ceph:mainfrom
amathuria:wip-amat-test-morepggrow-recovery

Conversation

@amathuria

@amathuria amathuria commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

morepggrow raises pg_num while peering and backfill are still in progress.
Leave mgr_debug_aggressive_pg_num_changes unset so adjust_pgs() waits while inactive, degraded, or misplaced ratios are high.

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

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.

morepggrow raises pg_num while peering and backfill are still in
progress. Leave mgr_debug_aggressive_pg_num_changes unset so
adjust_pgs() waits while inactive, degraded, or misplaced ratios
are high.

Fixes: https://tracker.ceph.com/issues/74794
Signed-off-by: Aishwarya Mathuria <[email protected]>
@amathuria
amathuria requested a review from a team as a code owner October 22, 2026 14:30
@amathuria

Copy link
Copy Markdown
Contributor Author

min_in: 2
chance_pgnum_grow: 3
chance_pgpnum_fix: 1
aggressive_pg_num_changes: false

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.

Hah, it's a bit surprising as:

$ grep -r aggressive_pg_num_changes common/options -A5
common/options/mgr.yaml.in:- name: mgr_debug_aggressive_pg_num_changes
common/options/mgr.yaml.in-  type: bool
common/options/mgr.yaml.in-  level: dev
common/options/mgr.yaml.in-  desc: Bypass most throttling and safety checks in pg[p]_num controller
common/options/mgr.yaml.in-  default: false
common/options/mgr.yaml.in-  services:

BUT qa/tasks/thrashosds.py overrides this logic with:

$ grep -r aggressive_pg_num_changes ../qa
...
../qa/tasks/thrashosds.py:    aggro = config.get('aggressive_pg_num_changes', True)
...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes exactly! we probably did it for aggressive testing but in combination with morepggrow it might be a lot

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath15-testing-20261102.042818-main.

@ronen-fr

Copy link
Copy Markdown
Contributor

@ljflores
ljflores merged commit 47ef35b into ceph:main Nov 11, 2026
25 of 28 checks passed
@ljflores

Copy link
Copy Markdown
Member

Should also be backported to umbrella. cc @amathuria

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