Skip to content

squid: mgr/vol: handling the failed non-atomic operation#65799

Open
joscollin wants to merge 2 commits intoceph:squidfrom
joscollin:wip-73309-squid
Open

squid: mgr/vol: handling the failed non-atomic operation#65799
joscollin wants to merge 2 commits intoceph:squidfrom
joscollin:wip-73309-squid

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented Oct 6, 2025

backport tracker: https://tracker.ceph.com/issues/73309


backport of #59676
parent tracker: https://tracker.ceph.com/issues/67330

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

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 pybind tests labels Oct 6, 2025
@github-actions github-actions bot added this to the squid milestone Oct 6, 2025
@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

jenkins test make check

1 similar comment
@joscollin
Copy link
Member Author

jenkins test make check

The order of operation done for subvolume removal with retain-snapshot
option set to true, is reversed. The metadata is updated first
followed by a rename operation on the uuid directory. If the metadata
update operation fails, then the remove operations is failed thereby,
keeping the subvolume metadata consistent with the uuid path.

Fixes: https://tracker.ceph.com/issues/67330
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit ba199cf)
… full

Fixes: https://tracker.ceph.com/issues/67330
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>

Conflicts:
	qa/suites/fs/full/tasks/mgr-osd-full.yaml
(cherry picked from commit ea624e4)
@joscollin
Copy link
Member Author

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

@batrick batrick modified the milestones: squid, v19.2.4 Mar 18, 2026
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.

2 participants