Bug 1177418
Summary: | entry self-heal in 3.5 and 3.6 are not compatible | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Pranith Kumar K <pkarampu> |
Component: | replicate | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.1 | CC: | bugs, gluster-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1168189 | Environment: | |
Last Closed: | 2015-02-11 09:10:52 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: | 1168189 | ||
Bug Blocks: | 1163723, 1177339, 1188522 |
Description
Pranith Kumar K
2014-12-27 07:30:50 UTC
REVIEW: http://review.gluster.org/9354 (features/locks: Add lk-owner checks in entrylk) posted (#1) for review on release-3.6 by Pranith Kumar Karampuri (pkarampu) REVIEW: http://review.gluster.org/9355 (cluster/afr: Make entry-self-heal in afr-v2 compatible with afr-v1) posted (#1) for review on release-3.6 by Pranith Kumar Karampuri (pkarampu) COMMIT: http://review.gluster.org/9354 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit f36ea2a4ad60b523aeb0303d1882744280e7056d Author: Pranith Kumar K <pkarampu> Date: Fri Nov 14 14:23:31 2014 +0530 features/locks: Add lk-owner checks in entrylk Backport of http://review.gluster.org/9125 For backward compatibility of entry-self-heal we need entrylks to be accepted by same lk-owner and same client. This patch introduces these changes. BUG: 1177418 Change-Id: I83a0c1a9b13dce4b57e5bfce6339193a79b15648 Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/9354 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Krutika Dhananjay <kdhananj> Reviewed-by: Raghavendra Bhat <raghavendra> COMMIT: http://review.gluster.org/9355 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 50998ae08c5a767468ee85cb5c53bb5554ff734a Author: Pranith Kumar K <pkarampu> Date: Mon Nov 17 14:27:47 2014 +0530 cluster/afr: Make entry-self-heal in afr-v2 compatible with afr-v1 Backport of http://review.gluster.org/9227 Problem: entry self-heal in 3.6 and above, takes full lock on the directory only for the duration of figuring out the xattrs of the directories where as 3.5 takes locks through out the entry-self-heal. If the cluster is heterogeneous then there is a chance that 3.6 self-heal is triggered and then 3.5 self-heal will also triggered and both the self-heal daemons of 3.5 and 3.6 do self-heal. Fix: In 3.6.x and above get an entry lock on a very long name before entry self-heal begins so that 3.5 entry self-heal will not get locks until 3.6.x entry self-heal completes. BUG: 1177418 Change-Id: Iecf49d794c6b480e38563e39599a40067b3a21cb Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/9355 Reviewed-by: Krutika Dhananjay <kdhananj> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Bhat <raghavendra> 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.6.2, please reopen this bug report. glusterfs-3.6.2 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should already be or become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. The fix for this bug likely to be included in all future GlusterFS releases i.e. release > 3.6.2. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978 [2] http://news.gmane.org/gmane.comp.file-systems.gluster.user [3] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137 |