Skip to content

qa: increase the threshold to hit mds.imported/mds.exported counters in tests#65109

Open
joscollin wants to merge 2 commits intoceph:mainfrom
joscollin:wip-B72386-imported-exported
Open

qa: increase the threshold to hit mds.imported/mds.exported counters in tests#65109
joscollin wants to merge 2 commits intoceph:mainfrom
joscollin:wip-B72386-imported-exported

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented Aug 19, 2025

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

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

@github-actions github-actions bot added cephfs Ceph File System tests labels Aug 19, 2025
@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

@joscollin joscollin requested a review from vshankar August 20, 2025 12:37
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Oct 19, 2025
@joscollin joscollin removed the stale label Oct 21, 2025
Bump up mds_beacon_grace in balancer/random test to
avoid laggy monitors that prevents hitting MDBalancer::tick()
to increment l_mds_imported and l_mds_exported.

Fixes: https://tracker.ceph.com/issues/72386
Signed-off-by: Jos Collin <jcollin@redhat.com>
CInode::maybe_ephemeral_rand() generates a random number,
which should be <= minimum of mds_export_ephemeral_random_max and
ceph.dir.pin.random xattr (threshold).
So we should have a higher threshold for the balancer/random test,
so that the counters could make an increment 80% of the time.
Reducing the value reduces the chances of hitting
l_mds_imported/l_mds_exported.

Fixes: https://tracker.ceph.com/issues/72386
Signed-off-by: Jos Collin <jcollin@redhat.com>
@joscollin joscollin force-pushed the wip-B72386-imported-exported branch from 87c06ba to 7697e83 Compare October 21, 2025 09:39
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Dec 20, 2025
@github-actions
Copy link

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Jan 19, 2026
@joscollin joscollin removed the stale label Jan 19, 2026
@joscollin joscollin reopened this Jan 19, 2026
@joscollin
Copy link
Member Author

jenkins retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant