|
|
f338ef |
From f77d4a024cb9b17de7d5add064b34adfb0455d17 Mon Sep 17 00:00:00 2001
|
|
|
f338ef |
From: Atin Mukherjee <amukherj@redhat.com>
|
|
|
f338ef |
Date: Mon, 24 Jun 2019 18:32:52 +0530
|
|
|
f338ef |
Subject: [PATCH 206/221] glusterd: ignore user.* options from compatibility
|
|
|
f338ef |
check in brick mux
|
|
|
f338ef |
|
|
|
f338ef |
user.* options are just custom and they don't contribute anything in
|
|
|
f338ef |
terms of determining the volume compatibility in brick multiplexing
|
|
|
f338ef |
|
|
|
f338ef |
> upstream patch : https://review.gluster.org/#/c/glusterfs/+/22933/
|
|
|
f338ef |
|
|
|
f338ef |
>Fixes: bz#1723402
|
|
|
f338ef |
>Change-Id: Ic7e0181ab72993d29cab345cde64ae1340bf4faf
|
|
|
f338ef |
>Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
f338ef |
|
|
|
f338ef |
BUG: 1722509
|
|
|
f338ef |
Change-Id: Ic7e0181ab72993d29cab345cde64ae1340bf4faf
|
|
|
f338ef |
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
f338ef |
Reviewed-on: https://code.engineering.redhat.com/gerrit/174589
|
|
|
f338ef |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
f338ef |
---
|
|
|
f338ef |
xlators/mgmt/glusterd/src/glusterd-utils.c | 3 +++
|
|
|
f338ef |
1 file changed, 3 insertions(+)
|
|
|
f338ef |
|
|
|
f338ef |
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
|
|
|
f338ef |
index 7768b8e..c6e9bb0 100644
|
|
|
f338ef |
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
|
|
|
f338ef |
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
|
|
|
f338ef |
@@ -2425,6 +2425,9 @@ unsafe_option(dict_t *this, char *key, data_t *value, void *arg)
|
|
|
f338ef |
if (fnmatch("*diagnostics.client-log*", key, 0) == 0) {
|
|
|
f338ef |
return _gf_false;
|
|
|
f338ef |
}
|
|
|
f338ef |
+ if (fnmatch("user.*", key, 0) == 0) {
|
|
|
f338ef |
+ return _gf_false;
|
|
|
f338ef |
+ }
|
|
|
f338ef |
|
|
|
f338ef |
return _gf_true;
|
|
|
f338ef |
}
|
|
|
f338ef |
--
|
|
|
f338ef |
1.8.3.1
|
|
|
f338ef |
|