diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-08-08 15:06:11 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-08 12:04:23 -0700 |
commit | abf0343e9dada8b119a212db5b24e8a8712a8c4f (patch) | |
tree | 1fa75a3a2a7aaa1373bb2ca18a425edcdb3d0cff /libglusterfs | |
parent | f875a7f82e53349a4a7a88d0eaa41c1485f2a2ba (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: 1138952
Change-Id: I469e8638ab6923e518022a539a19e2d040b60eb0
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>
Reviewed-on: http://review.gluster.org/8644
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions