Bug 1313312
Summary: | Client self-heals block the FOP that triggered the heals | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.7.9 | CC: | bhubbard, bugs, ppai |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1297172 | Environment: | |
Last Closed: | 2016-04-19 06:58:43 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: | 1297172 | ||
Bug Blocks: | 1292314, 1293412, 1300875 |
Description
Ravishankar N
2016-03-01 11:28:31 UTC
REVIEW: http://review.gluster.org/13564 (afr: Add throttled background client-side heals) posted (#1) for review on release-3.7 by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/13564 (afr: Add throttled background client-side heals) posted (#2) for review on release-3.7 by Ravishankar N (ravishankar) COMMIT: http://review.gluster.org/13564 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) ------ commit 4a5d8f65b9b04385dcae8b16a650f4e8ed357f8b Author: Ravishankar N <ravishankar> Date: Tue Mar 22 14:26:32 2016 +0530 afr: Add throttled background client-side heals Backport of: http://review.gluster.org/13207 If a heal is needed after inode refresh (lookup, read_txn), launch it in the background instead of blocking the fop (that triggered refresh) until the heal happens. afr_replies_interpret() is modified such that the heal is launched only if atleast one sink brick is up. Max. no of heals that can happen in parallel is configurable via the 'background-self-heal-count' volume option. Any number greater than that is put in a wait queue whose length is configurable via 'heal-wait-queue-leng' volume option. If the wait queue is also full, further heals will be ignored. Default values: background-self-heal-count=8, heal-wait-queue-leng=128 Change-Id: I9a134b2c29d66b70b7b1278811bd504963aabacc BUG: 1313312 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/13564 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> 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.7.10, please open a new bug report. glusterfs-3.7.10 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] https://www.gluster.org/pipermail/gluster-users/2016-April/026164.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |