Bug 1258267
Summary: | 1 mkdir generates tons of log messages from dht xlator | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Pranith Kumar K <pkarampu> | |
Component: | distribute | Assignee: | Susant Kumar Palai <spalai> | |
Status: | CLOSED ERRATA | QA Contact: | Prasad Desala <tdesala> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | rhgs-3.1 | CC: | amukherj, annair, aspandey, asrivast, bengland, mpillai, mzywusko, nbalacha, ndokos, pkarampu, pportant, pprakash, rcyriac, rgowdapp, rhinduja, rhs-bugs, sankarshan, smohan, spalai, tdesala | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.2.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | dht-log, dht-qe-3.2, dht-3.2.0-proposed | |||
Fixed In Version: | glusterfs-3.8.4-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1215816 | |||
: | 1366495 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-23 05:23:28 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1215816 | |||
Bug Blocks: | 1351522, 1366495, 1366496 |
Comment 4
Pranith Kumar K
2016-06-03 07:21:58 UTC
The following message should have their log levels changed to DEBUG: In dht_fix_layout_of_directory (): gf_msg (this->name, GF_LOG_INFO, 0, DHT_MSG_SUBVOL_INFO, "subvolume %d (%s): %u chunks", i, priv->subvolumes[i]->name, priv->du_stats[i].chunks); This message alone took up about 2GB of a 2.9GB rebalance log file. Moving this to POST as the patch has been posted upstream: master: http://review.gluster.org/15343 Upstream mainline : http://review.gluster.org/15343 Upstream 3.8 : http://review.gluster.org/15413 And the fix is available in rhgs-3.2.0 as part of rebase to GlusterFS 3.8.4. Verified this bug with glusterfs version: 3.8.4-2.el7rhgs.x86_64. After the fix, DHT layout logs those are being generated during mkdir creation are no longer seen with default log level. Layout logs are moved to DEBUG level and user will be able to see those logs only if the log level is set to DEBUG. Hence, moving this bug to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0486.html |