Bug 1403646
Summary: | self-heal not happening, as self-heal info lists the same pending shards to be healed | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
Component: | replicate | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.8 | CC: | amukherj, bugs, kdhananj, rcyriac, rhinduja, rhs-bugs, sasundar, storage-qa-internal |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.8.7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1402730 | Environment: |
virt RHGS integration
|
Last Closed: | 2016-12-14 07:13:24 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: | 1402730, 1403743 | ||
Bug Blocks: | 1397911, 1400057 |
Description
Krutika Dhananjay
2016-12-12 04:50:37 UTC
REVIEW: http://review.gluster.org/16105 (cluster/afr: Fix per-txn optimistic changelog initialisation) posted (#1) for review on release-3.8 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/16105 committed in release-3.8 by Pranith Kumar Karampuri (pkarampu) ------ commit d1cb82ef4154c52c8c9b7a95c5016b97d9babf10 Author: Krutika Dhananjay <kdhananj> Date: Thu Dec 8 22:49:48 2016 +0530 cluster/afr: Fix per-txn optimistic changelog initialisation Backport of: http://review.gluster.org/16075 Incorrect initialisation of local->optimistic_change_log was leading to skipped pre-op and post-op even when a brick didn't participate in the txn because it was down. The result - missing granular name index resulting in some entries never getting healed. FIX: Initialise local->optimistic_change_log just before pre-op. Also fixed granular entry heal to create the granular name index in pre-op as opposed to post-op. This is to prevent loss of granular information when during an entry txn, the good (src) brick goes offline before the post-op is done. This would cause self-heal to do conservative merge (since dirty xattr is the only information available), which when granular-entry-heal is enabled, expects granular indices, the lack of which can lead to loss of data in the worst case. Change-Id: Ibc0fbfb3fa21c578e28868d9e30b274e33c12064 BUG: 1403646 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/16105 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> 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.7, please open a new bug report. glusterfs-3.8.7 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://www.gluster.org/pipermail/packaging/2016-December/000226.html [2] https://www.gluster.org/pipermail/gluster-users/ REVIEW: http://review.gluster.org/16254 (cluster/afr: Fix per-txn optimistic changelog initialisation) posted (#1) for review on release-3.8-fb by Kevin Vigor (kvigor) |