diff options
author | Csaba Henk <csaba@redhat.com> | 2012-04-10 15:34:02 +0200 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-04-13 00:25:47 -0700 |
commit | c238e5073a8d60fede1f88e584c14de42885276e (patch) | |
tree | b7316b1929c67c7b28d808fea8b2c654b5870796 | |
parent | ecfe2d0a94dd6626e2e6c1e7707549adf550a5af (diff) |
geo-rep / gsyncd: log sync failures as warnings
Syncing of certain files can fail naturally if changes happen on
master (eg. file gets deleted). Therefore logging an error is
misleading.
Change-Id: I7b54904e5ec7c85e4e0fa1e330123d2c44c78ac5
BUG: 764510
Reported-by: Vijaykumar Koppad <vkoppad@redhat.com>
Signed-off-by: Csaba Henk <csaba@redhat.com>
Reviewed-on: http://review.gluster.com/3113
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijaykumar <vkoppad@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/master.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py index 14d732728af..d97665fccb2 100644 --- a/xlators/features/marker/utils/syncdaemon/master.py +++ b/xlators/features/marker/utils/syncdaemon/master.py @@ -391,7 +391,7 @@ class GMaster(object): self.sendmark(e, xte) return True else: - logging.error("failed to sync " + e) + logging.warn("failed to sync " + e) self.add_job(path, 'reg', regjob, e, xte, pb) elif stat.S_ISDIR(mo): adct['mode'] = mo |