diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2018-03-28 11:34:49 +0200 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-04-05 15:35:51 +0000 |
commit | 4fa3cc86d0c5160eccb998ba8bc950b924d7d477 (patch) | |
tree | 5597c332871c7a53c3b9bc72a823dc4acaec5818 | |
parent | ab0f43c874faa80c888a91acb732ff8ab87f3473 (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.
Backport of:
> BUG: 1561406
Change-Id: If62eb39a6857258923ba625e153d4ad79018ea2f
BUG: 1561732
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
-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 5da72bd5172..640672f2559 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -877,7 +877,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; } |