From c238e5073a8d60fede1f88e584c14de42885276e Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 10 Apr 2012 15:34:02 +0200 Subject: 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 Signed-off-by: Csaba Henk Reviewed-on: http://review.gluster.com/3113 Tested-by: Gluster Build System Reviewed-by: Vijaykumar Reviewed-by: Venky Shankar --- xlators/features/marker/utils/syncdaemon/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/marker/utils') 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 -- cgit