gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] File versioning support using git


From: Shishir Gowda
Subject: [Gluster-devel] File versioning support using git
Date: Mon, 24 Jun 2013 02:13:54 -0400 (EDT)

Hi All,

A new xlator called version has been added, which uses git as the backend to 
provide file versioning support for glusterfs bricks.

Backend will be a git repository, and versioning xlator will be added ontop of 
posix xlators (bricks)

To enable use “gluster volume set version on”. All dentry
creations will be staged. Users can then commit all these using
“setxattr -n "version-tag” -v “tag_name”. This will commit, and then
create a tag.

To view the tags use “ getxattr -n "version-list” “. This will print
a comma seperated list of tags.

To checkout a tag use “setxattr -n "version-chekout” -v “tag_name”.

If user wants each dentry change, set this commit:
“gluster volume set version-fine-grained on

In the future support through gluster cli to manage and access version-ing can 
be done.

The fix is sent for review @ http://review.gluster.org/#/c/4843/

With regards,
Shishir



reply via email to

[Prev in Thread] Current Thread [Next in Thread]