diff options
| author | Venky Shankar <vshankar@redhat.com> | 2014-06-09 21:58:29 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-10 03:21:26 -0700 | 
| commit | a9cdfa3072f60171a97d9f6af6988b179d45747f (patch) | |
| tree | d31df94be9590a1535d0d62e9b1a2d49b28e723c | |
| parent | f95a0f99599c0e1825a36eb424b3fe386d6d6b23 (diff) | |
gsyncd / geo-rep: Xsync crawl metadata synchronization
Added "metadata" record for directory and file creations
during the intial crawl.
Change-Id: I811ae26e0144cadf7249cb64541ec354ab83fe66
BUG: 1106604
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-on: http://review.gluster.org/8018
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
| -rw-r--r-- | geo-replication/syncdaemon/master.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index 0af21bbe99d..875f2791e0d 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -1379,6 +1379,7 @@ class GMasterXsyncMixin(GMasterChangelogMixin):                  self.write_entry_change("E", [gfid, 'MKDIR', str(mo), str(                      st.st_uid), str(st.st_gid), escape(os.path.join(pargfid,                                                                      bname))]) +                self.write_entry_change("M", [gfid, "SETATTR"])                  self.Xcrawl(e, xtr_root)                  self.stimes.append((e, xte))              elif stat.S_ISLNK(mo): @@ -1398,6 +1399,7 @@ class GMasterXsyncMixin(GMasterChangelogMixin):                                               str(st.st_gid),                                               escape(os.path.join(                                                   pargfid, bname))]) +                    self.write_entry_change("M", [gfid, "SETATTR"])                  else:                      self.write_entry_change(                          "E", [gfid, 'LINK', escape(os.path.join(pargfid,  | 
