diff options
author | Kotresh HR <khiremat@redhat.com> | 2014-12-24 21:26:28 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-12-29 09:08:05 -0800 |
commit | 5e7e12694e3898ef7bb5425827122c434a465ce8 (patch) | |
tree | 2e77770f4b7d3d8e6d62545b66e0a9bdb30da2c1 /geo-replication/syncdaemon/master.py | |
parent | 41e0e325aa7733285733fb00230fdaafdc80c25a (diff) |
feature/changelog: Virtual xattr to trigger explicit sync in geo-rep.
A virtual xattr "glusterfs.geo-rep.trigger-sync" is provided
in glusterfs through changelog translator. Geo-rep triggers
a explicit data sync on setting this xattr on a file.
Changelog captures a DATA entry on file's gfid on setting this
virtual xattr on a file. This is supported only for files. It
doesn't support directories.
Usage: setfattr -n glusterfs.geo-rep.trigger-sync <file-path>
Change-Id: Ia689326ac2dcb31035ffbecad2c548eda4eb9245
BUG: 1176934
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/9337
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
0 files changed, 0 insertions, 0 deletions