Project

General

Profile

Actions

Feature #45371

closed

mgr/volumes: `protect` and `clone` operation in a single transaction

Added by Humble Chirammal almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
ceph-csi
Backport:
octopus,nautilus
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:

Description

At the moment if we want to make a clone of a snapshot, the caller ( example , ceph CSI) has to make 2 calls to achieve the end result. Two calls per clone operation ( 1. Protect, 2 clone) is inefficient when there are many parallel requests. The request here is internally/implicitly handle `protect` operation on the source volume before initiating the clone itself. This could improve the usability in a great extend.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #46527: nautilus: mgr/volumes: `protect` and `clone` operation in a single transactionResolvedShyamsundar RanganathanActions
Copied to CephFS - Backport #46528: octopus: mgr/volumes: `protect` and `clone` operation in a single transactionResolvedShyamsundar RanganathanActions
Actions #1

Updated by Kotresh Hiremath Ravishankar almost 4 years ago

  • Assignee set to Kotresh Hiremath Ravishankar
Actions #2

Updated by Patrick Donnelly almost 4 years ago

  • Subject changed from Club `protect` and `clone` operation in a sinle transaction to mgr/volumes: `protect` and `clone` operation in a sinle transaction
  • Status changed from New to In Progress
  • Target version set to v16.0.0
  • Component(FS) mgr/volumes added
Actions #3

Updated by Kotresh Hiremath Ravishankar almost 4 years ago

With subvolume and snapshot decoupling feature1, snapshot protect and unprotect would no longer be required.

[1] https://tracker.ceph.com/issues/45729

Actions #4

Updated by Shyamsundar Ranganathan almost 4 years ago

  • Assignee changed from Kotresh Hiremath Ravishankar to Shyamsundar Ranganathan

Based on #note-3 reassigning it to myself.

Actions #5

Updated by Shyamsundar Ranganathan almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 35755
Actions #6

Updated by Shyamsundar Ranganathan almost 4 years ago

  • Status changed from Fix Under Review to In Progress

Moved back to in progress, to handle backward compatibility for non-CSI use cases where protect/unprotect maybe in use (e.g Openstack Manila)

Actions #7

Updated by Shyamsundar Ranganathan almost 4 years ago

  • Subject changed from mgr/volumes: `protect` and `clone` operation in a sinle transaction to mgr/volumes: `protect` and `clone` operation in a single transaction
  • Status changed from In Progress to Fix Under Review
Actions #8

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to octopus,nautilus
Actions #9

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #46527: nautilus: mgr/volumes: `protect` and `clone` operation in a single transaction added
Actions #10

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #46528: octopus: mgr/volumes: `protect` and `clone` operation in a single transaction added
Actions #11

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF