diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-08-08 15:06:11 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-19 23:27:26 -0700 |
commit | d0a3b4307e40b70d73faf4baed9fa0c930682894 (patch) | |
tree | 2710140e3a1b38eb0fed69be7b1dc0cd69e0a012 /tests/bugs/bug-858215.t | |
parent | 9b5231e5c98b8cfa116838287c7a14042702795f (diff) |
geo-rep: Fixing issue with xsync upper limit
While identifying the file/dir to sync, xtime of the file was compared
with xsync_upper_limit as `xtime < xsync_upper_limit` After the sync,
xtime of parent directory is updated as stime. With the upper limit
condition, stime is updated as MIN(xtime_parent, xsync_upper_limit)
With this files will get missed if `xtime_of_file == xsync_upper_limit`
With this patch xtime_of_file is compared as
xtime_of_file <= xsync_upper_limit
BUG: 1128093
Change-Id: I5022ce67ba503ed4621531a649a16fc06b2229d9
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/8439
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-858215.t')
0 files changed, 0 insertions, 0 deletions