diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2018-03-28 11:34:49 +0200 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2018-03-28 18:19:25 +0000 |
commit | 89577d8b0ad7bd1ee2cec2f0e047591b1cd0f7b8 (patch) | |
tree | a60b88f0239792824fbc26d90508b4a0ae2afdbb /xlators/cluster/ec/src/ec.c | |
parent | caa76bf8d4dadb2fb8372ba82084e854e2518630 (diff) |
cluster/ec: send list-node-uuids request to all subvolumes
The xattr trusted.glusterfs.list-node-uuids was only sent to a single
subvolume. This was returning null uuids from the other subvolumes as
if they were down.
This fix forces that xattr to be requested from all subvolumes.
Change-Id: If62eb39a6857258923ba625e153d4ad79018ea2f
fixes: bz#1561406
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec.c')
-rw-r--r-- | xlators/cluster/ec/src/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index 429cac956a5..ebf15f784e6 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -931,7 +931,7 @@ ec_gf_getxattr (call_frame_t *frame, xlator_t *this, loc_t *loc, if (name && ((fnmatch (GF_XATTR_STIME_PATTERN, name, 0) == 0) || - (XATTR_IS_NODE_UUID(name)))) { + XATTR_IS_NODE_UUID(name) || XATTR_IS_NODE_UUID_LIST(name))) { minimum = EC_MINIMUM_ALL; } |