+++ This bug was initially created as a clone of Bug #1209104 +++ Description of problem: During split-brain resolution from mount, an inode may get evicted from table even before inspection/resolution is complete, leading to failure. This should not happen. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Anand Avati on 2015-04-06 06:39:36 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#1) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-06 09:25:16 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#2) for review on master by Niels de Vos (ndevos) --- Additional comment from Anand Avati on 2015-04-16 06:54:22 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#3) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-16 07:00:04 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#4) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-17 08:33:20 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#6) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-17 08:40:42 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#7) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-17 09:08:14 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#8) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-27 06:59:53 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#9) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-27 07:15:00 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#10) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-04-30 06:05:58 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#11) for review on master by Anuradha Talur (atalur) --- Additional comment from Anand Avati on 2015-05-06 01:57:39 EDT --- REVIEW: http://review.gluster.org/10134 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#12) for review on master by Anuradha Talur (atalur)
REVIEW: http://review.gluster.org/10624 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#1) for review on release-3.7 by Anuradha Talur (atalur)
REVIEW: http://review.gluster.org/10624 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#2) for review on release-3.7 by Anuradha Talur (atalur)
REVIEW: http://review.gluster.org/10679 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#1) for review on release-3.7 by Anuradha Talur (atalur)
REVIEW: http://review.gluster.org/10679 (cluster/afr : Prevent inode-evict during split-brain resolution) posted (#2) for review on release-3.7 by Anuradha Talur (atalur)
COMMIT: http://review.gluster.org/10679 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) ------ commit 719c927592cfdb0de88243769d477ca211a2b494 Author: Anuradha <atalur> Date: Sat May 9 10:25:08 2015 +0530 cluster/afr : Prevent inode-evict during split-brain resolution Backport of: http://review.gluster.org/#/c/10134/ 1) Provided setfattr command to set timeout for split-brain choice. 2) If split-brain inspection/resolution is being done from the mount for a file, ref the inode when split-brain-choice is set. This inode will be unconditionally unref-ed after timeout seconds set by the user/default otherwise. 3) Updated the doc and testcase to reflect the changes. Change-Id: I15c9037dee28855f21e680e7e3632e1f48dba4e1 BUG: 1219388 Reviewed-on: http://review.gluster.org/10134 Reviewed-by: Krutika Dhananjay <kdhananj> Reviewed-by: Ravishankar N <ravishankar> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Signed-off-by: Anuradha <atalur> Reviewed-on: http://review.gluster.org/10679
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.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user