Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Snapshot Integration with GD2 #461

Open
6 tasks
atinmu opened this issue Nov 30, 2017 · 8 comments
Open
6 tasks

Snapshot Integration with GD2 #461

atinmu opened this issue Nov 30, 2017 · 8 comments

Comments

@atinmu
Copy link
Contributor

atinmu commented Nov 30, 2017

This github issue is going to track the overall snapshot integration related work required at GD2 workspace.

Checklist

  • ReST APIs availibility in wiki
  • CLI commands
  • Sufficient logging
  • Availibility of metrics data if applicable
  • Xlator options table upto date?
  • Test cases & test coverage of the functionality
@rafikc30
Copy link
Member

rafikc30 commented Nov 30, 2017

Snapshot integration commands

  • Snapshot-create

  • Snapshot-activate

  • Snapshot-deactivate

  • Snapshot-list

  • Snapshot-info

  • Snapshot-status

  • Snapshot-config

  • Snapshot-clone

  • Snapshot-resotre

  • Snapshot-delete

First four will be targetting for mvp2

@aravindavk
Copy link
Member

@rafikc30 please provide details about each snapshot command similar to #421 (comment)

@rafikc30
Copy link
Member

A snapshot is always coupled with a volume, so when a volume is deleted we have to make sure that all snapshots are deleted prior to that.
To have an association we could have a list of snapshot in volinfo, but in this case any a creation or deletion of snapshot means you need to fetch the volume as well. Which can be a costly operation as we want to reduce the access to etcd.

So what I'm thinking to have a structured key in etcd store for each volume. Currently volinfos are stored as key gluster/volumes/{volname}, instead, if we could have a key like

for volinfo
gluster/volumes/{volname}/volinfo/info
for snapshot
gluster/volumes/{volname}/snapinfo/{snapname}

This is way, we can avoid updating the volinfo each time. With this method, we need to modify a little bit to get the list of volumes.

@prashanthpai @kshlm @aravindavk what is your thoughts about this ?

@atinmu
Copy link
Contributor Author

atinmu commented Mar 31, 2018

@rafikc30 Are we blocked on the above discussions? Can we get to a consensus here asap?

@atinmu atinmu added Gluster 4.2 GCS/1.0 Issue is blocker for Gluster for Container Storage labels Jun 23, 2018
@atinmu atinmu modified the milestones: mvp-2, GCS-Sprint1 Jun 23, 2018
@atinmu atinmu modified the milestones: GCS-Sprint1, GCS-Sprint2 Jul 9, 2018
@atinmu
Copy link
Contributor Author

atinmu commented Jul 9, 2018

snapshot config will be targeted in sprint 2. I'm moving this to sprint 2 now.

@atinmu atinmu removed the Gluster 4.2 label Oct 4, 2018
@atinmu atinmu removed this from the GCS-Sprint2 milestone Oct 4, 2018
@atinmu
Copy link
Contributor Author

atinmu commented Oct 4, 2018

@rafikc30 Can you please check and see if there's anything pending on this issue? Otherwise we should close this tracker.

@rafikc30
Copy link
Member

rafikc30 commented Oct 4, 2018

@rafikc30 Can you please check and see if there's anything pending on this issue? Otherwise we should close this tracker.

@atinmu as soon as the snapshot config change #1228 get merged, we could close this issue

@atinmu atinmu removed the GCS/1.0 Issue is blocker for Gluster for Container Storage label Nov 30, 2018
@atinmu
Copy link
Contributor Author

atinmu commented Nov 30, 2018

#1228 is no longer a blocker for GCS 1.0 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants