Skip to content

mds: add a proper check to evict clients with id 0 - #61981

Merged
vshankar merged 2 commits into
ceph:mainfrom
neesingh-rh:wip-fix-check-for-zero
Mar 23, 2026
Merged

vshankar merged 2 commits into
ceph:mainfrom
neesingh-rh:wip-fix-check-for-zero

Conversation

@neesingh-rh

@neesingh-rh neesingh-rh commented Feb 24, 2025 •

Copy link
Copy Markdown
Contributor

Follow up of #49974

Fixes: https://tracker.ceph.com/issues/70198
Signed-off-by: Neeraj Pratap Singh [email protected]

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@github-actions github-actions Bot added the cephfs Ceph File System label Feb 24, 2025
@neesingh-rh
neesingh-rh force-pushed the wip-fix-check-for-zero branch from fa1ca9e to 4d66ee4 Compare February 24, 2025 15:33
Comment thread src/mds/SessionMap.cc Resolved
@vshankar

Copy link
Copy Markdown
Contributor

Follow up of #49974

Even if its a follow up, please create a tracker (for backport tracking) and link the followup comment in it.

@neesingh-rh
neesingh-rh force-pushed the wip-fix-check-for-zero branch 2 times, most recently from a81707c to 38edd19 Compare February 27, 2025 03:49
@github-actions github-actions Bot added the tests label Feb 27, 2025
@neesingh-rh

Copy link
Copy Markdown
Contributor Author

Follow up of #49974

Even if its a follow up, please create a tracker (for backport tracking) and link the followup comment in it.

Created the tracker and have linked it to the PR

@neesingh-rh
neesingh-rh requested a review from batrick March 4, 2025 09:50
@neesingh-rh

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[ RUN      ] MDSSessionFilter.ParseGood
Testing '[id=34]'
Testing '[auth_name=foxtrot]'
Testing '[state=reconnecting]'
Testing '[reconnecting=true]'
Testing '[client_metadata.root=/foo/bar]'
Testing '[]'
Testing '[id=123]'
Testing '[id=34,client_metadata.root=/foo/bar,auth_name=foxtrot,state=reconnecting,reconnecting=true]'
[       OK ] MDSSessionFilter.ParseGood (1 ms)
[ RUN      ] MDSSessionFilter.ParseBad
Testing '[rhubarb]'
Testing '[id=]'
unknown file: Failure
C++ exception with description "stoi" thrown in the test body.
[  FAILED  ] MDSSessionFilter.ParseBad (0 ms)

@neesingh-rh
neesingh-rh force-pushed the wip-fix-check-for-zero branch 2 times, most recently from 170255a to 4ffdc40 Compare March 5, 2025 19:02
@neesingh-rh

Copy link
Copy Markdown
Contributor Author
[ RUN      ] MDSSessionFilter.ParseGood
Testing '[id=34]'
Testing '[auth_name=foxtrot]'
Testing '[state=reconnecting]'
Testing '[reconnecting=true]'
Testing '[client_metadata.root=/foo/bar]'
Testing '[]'
Testing '[id=123]'
Testing '[id=34,client_metadata.root=/foo/bar,auth_name=foxtrot,state=reconnecting,reconnecting=true]'
[       OK ] MDSSessionFilter.ParseGood (1 ms)
[ RUN      ] MDSSessionFilter.ParseBad
Testing '[rhubarb]'
Testing '[id=]'
unknown file: Failure
C++ exception with description "stoi" thrown in the test body.
[  FAILED  ] MDSSessionFilter.ParseBad (0 ms)

All checks are green, PTAL

@neesingh-rh
neesingh-rh requested a review from batrick March 6, 2025 05:01
@github-actions

Copy link
Copy Markdown

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 May 17, 2025
@neesingh-rh

Copy link
Copy Markdown
Contributor Author

@vshankar @rishabh-d-dave Can we add this in any of upcoming teuthology runs

@rishabh-d-dave rishabh-d-dave added wip-rishabh-testing Rishabh's testing label and removed stale labels May 29, 2025
@rishabh-d-dave

Copy link
Copy Markdown
Contributor

@rishabh-d-dave rishabh-d-dave removed the wip-rishabh-testing Rishabh's testing label label Jun 16, 2025
@rishabh-d-dave

Copy link
Copy Markdown
Contributor

This PR is under test in https://tracker.ceph.com/issues/71663.

A large number of jobs failed to an unrelated error, deferring QA run until it is fixed.

@rishabh-d-dave rishabh-d-dave added the wip-rishabh-testing Rishabh's testing label label Jun 17, 2025
@rishabh-d-dave

Copy link
Copy Markdown
Contributor

@rishabh-d-dave rishabh-d-dave 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.

@rishabh-d-dave

Copy link
Copy Markdown
Contributor

One of the CI job is stuck and there's no way to re-trigger until PR branch pushed with again or if we close and open the PR. Proceeding to do the latter.

@github-actions

Copy link
Copy Markdown

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 Oct 21, 2025
@neesingh-rh neesingh-rh reopened this Oct 29, 2025
@github-actions github-actions Bot removed the stale label Oct 29, 2025
@github-actions

Copy link
Copy Markdown

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 28, 2025
@github-actions

Copy link
Copy Markdown

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!

@vshankar

vshankar commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

vshankar added a commit to vshankar/ceph that referenced this pull request Mar 16, 2026
* refs/pull/61981/head:

Reviewed-by: Rishabh Dave <[email protected]>
Reviewed-by: Patrick Donnelly <[email protected]>

@vshankar vshankar 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.

@vshankar

Copy link
Copy Markdown
Contributor

jenkins retest this please

@vshankar

Copy link
Copy Markdown
Contributor

@neesingh-rh please mixup the failing jenkins test. This is ready to merge.

@neesingh-rh

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@neesingh-rh

Copy link
Copy Markdown
Contributor Author

@neesingh-rh please mixup the failing jenkins test. This is ready to merge.

readthedocs check is failing, which seems unrelated to the change.

@vshankar

Copy link
Copy Markdown
Contributor

@neesingh-rh - can you rebase and push please?

@neesingh-rh
neesingh-rh force-pushed the wip-fix-check-for-zero branch from 8710168 to 3689aef Compare March 18, 2026 09:34
@neesingh-rh

Copy link
Copy Markdown
Contributor Author

@neesingh-rh - can you rebase and push please?

Rebased

@vshankar

Copy link
Copy Markdown
Contributor

jenkins retest this please

@vshankar

Copy link
Copy Markdown
Contributor

jenkins test api

@vshankar
vshankar merged commit 03aaf69 into ceph:main Mar 23, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/23444221065

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.

4 participants