[Gluster-users] geo-replication and rsync

Venky Shankar yknev.shankar at gmail.com
Fri Jun 1 06:36:06 UTC 2012


Geo-Replication is a more intelligent way of doing Rsync. Although Geo-Rep
uses Rsync to transfer file data, identifying candidates that need to be
sync'd (by handing it over to Rsync) is based on a extended attribute.

Whenever an entity is the master gluster volume is changed (writes) the
marker xlator (feature/marker) updates the xtime extended attribute for
that particular file and propagates it up the directory hierarchy. This by
looking at the top level directory (xtime-master > xtime-slave) gsyncd
knows whether there some change in the tree. Gsyncd then recursively walks
the tree (only entering sub-directories that satisfy xtime(M) > xtime(S))
to get a list of files that have xtime differences b/w master and slave.

Thanks,
-Venky

On Fri, Jun 1, 2012 at 11:33 AM, Christian Wittwer <wittwerch at gmail.com>wrote:

> Hi Gandalf,
> Did you get any feedback on your mail? I'm currently looking at the
> geo-replication too and was wondering what the difference is.
>
> Cheers,
> Christian
>
> 2012/4/27 Gandalf Corvotempesta <gandalf.corvotempesta at gmail.com>:
> > Hi,
> > can someone tell me the differenct between geo-replication and plain
> rsync?
> > On which frequency files are replicated with geo-replication?
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> >
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>



-- 
Astalavista Baby!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120601/d9192946/attachment.html>


More information about the Gluster-users mailing list