summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshishir gowda <sgowda@redhat.com>2012-07-25 13:08:14 +0530
committerVijay Bellur <vbellur@redhat.com>2012-07-25 09:28:45 -0700
commitb8d5208f5c8945debe565ae72fea5a3795a44dfe (patch)
treee230d9323fe0e2003b9c72e3345069de36ffe6a3
parent98564a3de126658190c7d54873d4ea2adab59bd8 (diff)
cluster/distribute: Suppress user xattr mismatch log message
Changing the log-level to DEBUG. Xattr mismatch can occur when parallel setxattr's race, or when one of the bricks was down. A subsequent setxattr will fix the condition when all the subvols are up. In this case, the 'user.swift' xattr used by ufo was out of sync, but did not cause any other error. Change-Id: I6fdff78869b8ff72c305bbe122033e6c1d9d3cff BUG: 838197 Signed-off-by: shishir gowda <sgowda@redhat.com> Reviewed-on: http://review.gluster.com/3723 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Mohammed Junaid <junaid@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/cluster/dht/src/dht-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index 7ac08c65930..5da0c10bba2 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -69,7 +69,7 @@ dht_aggregate (dict_t *this, char *key, data_t *value, void *data)
if (!ret && data_pair && value) {
ret = is_data_equal (data_pair->value, value);
if (!ret)
- gf_log ("dht", GF_LOG_WARNING,
+ gf_log ("dht", GF_LOG_DEBUG,
"xattr mismatch for %s", key);
}
}