diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-01-08 15:39:40 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-01-28 19:49:53 -0800 |
commit | a48b18d6f661f863371e625084a88a01aaf989f0 (patch) | |
tree | a45a7bad629f4c2b37670db79ab03e80ab1b0c30 /build-aux | |
parent | b17122ffc75c65bda2cf3b3d99832bbf2718e8d3 (diff) |
cluster/ec: Handle CHILD UP/DOWN in all cases
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.
Change-Id: Ie0194dbadef2dce36ab5eb7beece84a6bf3c631c
BUG: 1179180
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9396
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions