Skip to content

cephfs: session tracker accounts for killing sessions - #62631

Merged
vshankar merged 1 commit into
ceph:mainfrom
theanalyst:cephfs-session-tracker-fix
May 20, 2025
Merged

vshankar merged 1 commit into
ceph:mainfrom
theanalyst:cephfs-session-tracker-fix

Conversation

@theanalyst

Copy link
Copy Markdown
Member

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

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 the cephfs Ceph File System label Apr 2, 2025
@theanalyst

Copy link
Copy Markdown
Member Author

An alternative is just to return in case sessions != 0 instead of asserting, not sure whether we can reach a state where the lone session is in a SESSION_OPENING state also

@theanalyst
theanalyst requested review from batrick and vshankar April 7, 2025 07:13
@vshankar
vshankar requested a review from a team April 7, 2025 12:48
@vshankar

vshankar commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

@mchangir PTAL

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

LGTM.

@vshankar

Copy link
Copy Markdown
Contributor

jenkins test make check

@YBYQJY

YBYQJY commented Apr 16, 2025

Copy link
Copy Markdown

An alternative is just to return in case sessions != 0 instead of asserting, not sure whether we can reach a state where the lone session is in a SESSION_OPENING state also

I have encountered this case, the session is opening. I think this case needs to be covered as well.

@theanalyst

Copy link
Copy Markdown
Member Author

@vshankar should I add the SESSION_OPENING case also per last comment?

@vshankar

Copy link
Copy Markdown
Contributor

@vshankar should I add the SESSION_OPENING case also per last comment?

Fair enough. Please handle that case too.

@theanalyst
theanalyst force-pushed the cephfs-session-tracker-fix branch from e4d0dc4 to bb52cb7 Compare April 22, 2025 09:32
@theanalyst

Copy link
Copy Markdown
Member Author

@vshankar should I add the SESSION_OPENING case also per last comment?

Fair enough. Please handle that case too.

Done

@vshankar

vshankar commented May 8, 2025

Copy link
Copy Markdown
Contributor

@vshankar

Copy link
Copy Markdown
Contributor

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

Suite run looks good. This will be merged soon.

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

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

Labels

cephfs Ceph File System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants