summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-method.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-01-08 15:39:40 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-03-30 00:20:38 -0700
commitd1eb4f520b35c1057c7cb3427a51dd6ae75cc61f (patch)
tree521fcac11f8571dd395e0a028498c7bc55a13b95 /xlators/cluster/ec/src/ec-method.c
parentae75db655b683bb47df1590c7815c90b7cbefe4b (diff)
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 <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9551 Reviewed-by: Xavier Hernandez <xhernandez@datalab.es> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-method.c')
0 files changed, 0 insertions, 0 deletions