[Gluster-devel] Release 3.10 feature proposal : Introduce force option in snapshot restore

Avra Sengupta asengupt at redhat.com
Fri Dec 9 11:58:41 UTC 2016


Hi,

Essentially a snapshot of a volume, which was taken when the volume had 
nfs.ganesha option enabled, has a export.conf file for it. This file 
will be restored to the Ganesha Export Directory, which has been moved 
to the shared storage. Currently we fail the snapshot restore in a 
scenario, where the snapshot has the said conf file, but the shared 
storage is not available. This behaviour is expected. However there is 
no option for the user to proceed with the snapshot at this point in time.

We will introduce a force option for snapshot restore, which will enable 
the user to restore this particular snapshot in the above explained 
scenario, thereby abandoning the export.conf. The reason for introducing 
the force option is to make the user explicitly ask for the saved 
export.conf to be abandoned in such a scenario.

Example of proposed option in restore cli:
gluster snapshot restore [force]


Here is the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1403188 
<https://bugzilla.redhat.com/show_bug.cgi?id=1401812>

Design doc: http://review.gluster.org/#/c/16097/ 
<http://review.gluster.org/#/c/16090/>

Regards,
Avra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20161209/44d5892a/attachment.html>


More information about the Gluster-devel mailing list