From d1eb4f520b35c1057c7cb3427a51dd6ae75cc61f Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Thu, 8 Jan 2015 15:39:40 +0530 Subject: cluster/ec: Handle CHILD UP/DOWN in all cases Backport of http://review.gluster.org/9396 Problem: When all the bricks are down at the time of mounting the volume, then mount command hangs. Fix: 1. Ignore all CHILD_CONNECTING events comming from subvolumes. 2. On timer expiration (without enough up or down childs) send CHILD_DOWN. 3. Once enough up or down subvolumes are detected, send the appropriate event. When rest of the subvols go up/down without changing the overall ec-up/ec-down send CHILD_MODIFIED to parent subvols. BUG: 1188471 Change-Id: If92bd84107d49495cd104deb34601afe7f9b155c Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/9551 Reviewed-by: Xavier Hernandez Tested-by: Gluster Build System Reviewed-by: Raghavendra Bhat --- tests/include.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/include.rc') diff --git a/tests/include.rc b/tests/include.rc index 599ad1bd4c2..d4e0ed25556 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -41,6 +41,7 @@ UMOUNT_TIMEOUT=5 statedumpdir=`gluster --print-statedumpdir`; # Default directory for statedump CLI="gluster --mode=script --wignore"; +GFS="glusterfs --attribute-timeout=0 --entry-timeout=0"; mkdir -p $B0; mkdir -p $M0 $M1; -- cgit