[Gluster-devel] File versioning support using git
Shishir Gowda
sgowda at redhat.com
Mon Jun 24 06:13:54 UTC 2013
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
More information about the Gluster-devel
mailing list