diff options
author | Aravinda VK <avishwan@redhat.com> | 2015-12-02 19:37:55 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-03-08 01:59:17 -0800 |
commit | 8883c12216cc0c0770a4207e1e2a62fa16dc1528 (patch) | |
tree | 7dca2d3793ecd2c2b36100abf2843e2737946ad8 /glusterfs.spec.in | |
parent | f3b8a931b00cfd0ecee46599ed1ef1aaf236e148 (diff) |
geo-rep: Handling Rsync/Tar errors efficiently
Geo-rep processes Changelogs in Batch, if one file in batch
fails with rsync error that Changelog file is reprocessed multiple times.
After MAX_RETRY, it logs all the GFIDs from that batch as Skipped.
This patch addresses following issues,
1. When Rsync/Tar fails do not parse Changelog again for retry
2. When Rsync/Tar fails do not replay Entry operations, only retry
rsync/tar for those GFIDs
3. Log Error in Rsync/Tar only in the last Retry
4. Do not log Skipped GFIDs since Rsync/Tar errors are logged for
only failed files.
5. Changed Entry failures as Error instead of Warning
BUG: 1313309
Change-Id: Ie134ce2572693056ab9b9008cd8aa5b5d87f7975
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/12856
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit d136a789258e8f600e536717da156a242d8ed9a5)
Reviewed-on: http://review.gluster.org/13558
Diffstat (limited to 'glusterfs.spec.in')
0 files changed, 0 insertions, 0 deletions