diff options
author | Manikandan Selvaganesh <mselvaga@redhat.com> | 2015-12-17 10:55:37 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2016-02-18 06:35:39 -0800 |
commit | 74dedc441c2414de0bbfd12cf0eca366bd9b939d (patch) | |
tree | 35200161d345b342f542d8c070baf83fb7826173 | |
parent | cc4f0697d705463f7907e8179a26bfd8d09745e3 (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.5 fix: http://review.gluster.org/#/c/12990/
> Change-Id: Ie666ba99c7bb16b9ce249b581e09857734589f51
> BUG: 1288195
> Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Change-Id: Ie666ba99c7bb16b9ce249b581e09857734589f51
BUG: 1302310
Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-on: http://review.gluster.org/13304
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
-rw-r--r-- | xlators/features/marker/src/marker-quota.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index 0c4a3a713fc..5f674774a02 100644 --- a/xlators/features/marker/src/marker-quota.c +++ b/xlators/features/marker/src/marker-quota.c @@ -1330,8 +1330,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_ERROR, - "contribution node list is empty"); + gf_log_callingfn (this->name, GF_LOG_TRACE, + "contribution node list is empty which " + "is an error"); ret = -1; goto out; } |