Bug 1303895
| Summary: | promotions not happening when space is created on previously full hot tier | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Nithya Balachandran <nbalacha> | |
| Component: | tiering | Assignee: | Nithya Balachandran <nbalacha> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | bugs <bugs> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | mainline | CC: | bugs, dlambrig, mpillai, nchilaka, rhs-bugs, rkavunga | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1303894 | |||
| : | 1306129 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-16 13:56:34 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: | 1303894 | |||
| Bug Blocks: | 1306129 | |||
|
Description
Nithya Balachandran
2016-02-02 11:11:17 UTC
REVIEW: http://review.gluster.org/13332 (cluster/tier : Reset watermarks in tier) posted (#1) for review on master by N Balachandran (nbalacha) Analysis: The tier volume in question had different nodes running the hot and cold bricks. No node contains both hot and cold bricks, so the tier process on each node will either promote or demote, but not both. The initial create operations caused the hot tier usage to cross the high watermark configured. This was detected by the tier processes running on the cold tier nodes and tier_conf->watermark_last was set to TIER_WM_HI. The files on the hot tier were then deleted and the disk space freed up. The promotions are now expected to start again. However, as the cold tier nodes do not demote files, the tier_check_watermark is not called and the watermark value is not reset. So the tier_check_promote will always fail, in turn preventing tier_watermark_check from being called . The cold tier nodes will now never promote files and the hot tier will eventually empty out. Such a configuration is likely to hot this issue frequently as hot tier bricks are usually small and likely to cross the high watermark frequently. REVIEW: http://review.gluster.org/13341 (cluster/tier : Reset watermarks in tier) posted (#1) for review on master by N Balachandran (nbalacha) REVIEW: http://review.gluster.org/13341 (cluster/tier : Reset watermarks in tier) posted (#2) for review on master by N Balachandran (nbalacha) COMMIT: http://review.gluster.org/13341 committed in master by Dan Lambright (dlambrig) ------ commit 545f4ed2c7195a21210e6a055c27c1b7a115e18c Author: N Balachandran <nbalacha> Date: Tue Feb 2 22:09:45 2016 +0530 cluster/tier : Reset watermarks in tier A node which contains only cold bricks and has detected that the high watermark value has been breached on the hot tier will never reset the watermark to the correct value. The promotion check will thus always fail and no promotions will occur from that node. Change-Id: I0f0804744cd184c263acbea1ee50cd6010a49ec5 BUG: 1303895 Signed-off-by: N Balachandran <nbalacha> Reviewed-on: http://review.gluster.org/13341 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Dan Lambright <dlambrig> REVIEW: http://review.gluster.org/13357 (cluster/tier : Fixed wrong variable comparison) posted (#1) for review on master by N Balachandran (nbalacha) REVIEW: http://review.gluster.org/13357 (cluster/tier : Fixed wrong variable comparison) posted (#2) for review on master by N Balachandran (nbalacha) COMMIT: http://review.gluster.org/13357 committed in master by Dan Lambright (dlambrig) ------ commit 444378de64f398c4e19468e83ac31fccc0a94800 Author: N Balachandran <nbalacha> Date: Thu Feb 4 18:24:55 2016 +0530 cluster/tier : Fixed wrong variable comparison The wrong variable was being checked to determine the watermark value. Change-Id: If4c97fa70b772187f1fcbdf5193e077cb356a8b1 BUG: 1303895 Signed-off-by: N Balachandran <nbalacha> Reviewed-on: http://review.gluster.org/13357 Smoke: Gluster Build System <jenkins.com> Reviewed-by: Dan Lambright <dlambrig> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |