summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-12-17 10:55:37 +0530
committerNiels de Vos <ndevos@redhat.com>2016-02-12 00:28:36 -0800
commita31f716d3bde1a8c403feff62b05b3eeba0b3ec2 (patch)
tree4e25cec5c92befd07d60ec911b440f4156c1d5dc
parentf44b0b04402886d8a69100fb0c1fab5e8b243579 (diff)
quota : avoid "contribution node is empty" error logs
In versions older than 3.7, "contribution node list is empty which is an error" gets logged numerous number of times. It is completely fixed in 3.7. Since the entire marker and quota code has almost been refactored, it is hard to backport the complete fix and also it could not be fixed with the older approach. As a temporary fix, to avoid numerous logs, the patch just supresses the log level. 3.6 Patch -> http://review.gluster.org/#/c/13304/ Change-Id: Ie666ba99c7bb16b9ce249b581e09857734589f51 BUG: 1288195 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/12990 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
-rw-r--r--xlators/features/marker/src/marker-quota.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 3156cd8..1c54937 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -1293,9 +1293,9 @@ mq_get_parent_inode_local (xlator_t *this, quota_local_t *local)
local->ctx = ctx;
if (list_empty (&ctx->contribution_head)) {
- gf_log_callingfn (this->name, GF_LOG_WARNING,
- "contribution node list is empty which "
- "is an error");
+ gf_log_callingfn (this->name, GF_LOG_TRACE,
+ "contribution node list is empty which "
+ "is an error");
ret = -1;
goto out;
}