From c6ba67d423a58dfba6088492cb04338f62ad8c9a Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Thu, 10 Mar 2022 20:21:50 -0800 Subject: [PATCH 1/7] Replace discovered_master with discovered_cluster_manager in cat health api Signed-off-by: Tianli Feng --- .../test/cat.health/10_basic.yml | 175 ++++++++++++------ .../rest/action/cat/RestHealthAction.java | 2 +- 2 files changed, 118 insertions(+), 59 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 731fc5d166eca..5721ffba96754 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -1,89 +1,148 @@ --- "Help": - skip: - version: " - 7.10.99" - reason: "discovered_master added in OpenSearch 1.0.0" + version: " - 7.10.99 , 2.0.0 - " + reason: "discovered_master added in OpenSearch 1.0.0" - do: cat.health: help: true - match: $body: | - /^ epoch .+ \n - timestamp .+ \n - cluster .+ \n - status .+ \n - node.total .+ \n - node.data .+ \n - discovered_master .+ \n - shards .+ \n - pri .+ \n - relo .+ \n - init .+ \n - unassign .+ \n - pending_tasks .+ \n - max_task_wait_time .+ \n - active_shards_percent .+ \n - - $/ + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_master .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n + + $/ --- "Empty cluster": - skip: - version: " - 7.10.99" + version: " - 7.10.99 , 2.0.0 - " reason: "discovered_master added in OpenSearch 1.0.0" - do: cat.health: {} - match: $body: | - /^ - ( \d+ \s+ # epoch - \d\d:\d\d:\d\d \s+ # timestamp - \S+ \s+ # cluster - \w+ \s+ # status - \d+ \s+ # node.total - \d+ \s+ # node.data - \w+ \s+ # discovered_master - \d+ \s+ # shards - \d+ \s+ # pri - \d+ \s+ # relo - \d+ \s+ # init - \d+ \s+ # unassign - \d+ \s+ # pending_tasks - (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time - \d+\.\d+% # active shards percent - \n - )+ - $/ + /^ + ( \d+ \s+ # epoch + \d\d:\d\d:\d\d \s+ # timestamp + \S+ \s+ # cluster + \w+ \s+ # status + \d+ \s+ # node.total + \d+ \s+ # node.data + \w+ \s+ # discovered_master + \d+ \s+ # shards + \d+ \s+ # pri + \d+ \s+ # relo + \d+ \s+ # init + \d+ \s+ # unassign + \d+ \s+ # pending_tasks + (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time + \d+\.\d+% # active shards percent + \n + )+ + $/ + +--- +"Help - after 2.0.0": + - skip: + version: " - 1.4.99" + reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" + - do: + cat.health: + help: true + + - match: + $body: | + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_cluster_manager .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n + + $/ + +--- +"Empty cluster - after 2.0.0": + - skip: + version: " - 1.4.99" + reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" + - do: + cat.health: {} + + - match: + $body: | + /^ + ( \d+ \s+ # epoch + \d\d:\d\d:\d\d \s+ # timestamp + \S+ \s+ # cluster + \w+ \s+ # status + \d+ \s+ # node.total + \d+ \s+ # node.data + \w+ \s+ # discovered_cluster_manager + \d+ \s+ # shards + \d+ \s+ # pri + \d+ \s+ # relo + \d+ \s+ # init + \d+ \s+ # unassign + \d+ \s+ # pending_tasks + (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time + \d+\.\d+% # active shards percent + \n + )+ + $/ --- "With ts parameter": - skip: - version: " - 7.10.99" - reason: "discovered_master added in OpenSearch 1.0.0" + version: " - 1.4.99" + reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" - do: cat.health: ts: false - match: $body: | - /^ - ( \S+ \s+ # cluster - \w+ \s+ # status - \d+ \s+ # node.total - \d+ \s+ # node.data - \w+ \s+ # discovered_master - \d+ \s+ # shards - \d+ \s+ # pri - \d+ \s+ # relo - \d+ \s+ # init - \d+ \s+ # unassign - \d+ \s+ # pending_tasks - (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time - \d+\.\d+% # active shards percent - \n - )+ - $/ + /^ + ( \S+ \s+ # cluster + \w+ \s+ # status + \d+ \s+ # node.total + \d+ \s+ # node.data + \w+ \s+ # discovered_cluster_manager + \d+ \s+ # shards + \d+ \s+ # pri + \d+ \s+ # relo + \d+ \s+ # init + \d+ \s+ # unassign + \d+ \s+ # pending_tasks + (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time + \d+\.\d+% # active shards percent + \n + )+ + $/ diff --git a/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java b/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java index b6e945620f918..d43b512e77802 100644 --- a/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java +++ b/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java @@ -88,7 +88,7 @@ protected Table getTableWithHeader(final RestRequest request) { t.addCell("status", "alias:st;desc:health status"); t.addCell("node.total", "alias:nt,nodeTotal;text-align:right;desc:total number of nodes"); t.addCell("node.data", "alias:nd,nodeData;text-align:right;desc:number of nodes that can store data"); - t.addCell("discovered_master", "alias:dm;text-align:right;desc:discovered master"); + t.addCell("discovered_cluster_manager", "alias:dm;text-align:right;desc:cluster manager is discovered or not"); t.addCell("shards", "alias:t,sh,shards.total,shardsTotal;text-align:right;desc:total number of shards"); t.addCell("pri", "alias:p,shards.primary,shardsPrimary;text-align:right;desc:number of primary shards"); t.addCell("relo", "alias:r,shards.relocating,shardsRelocating;text-align:right;desc:number of relocating nodes"); From 49f5a9d76b06e859f6663db5abe9f9b4fef31d42 Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Sat, 12 Mar 2022 22:33:06 -0800 Subject: [PATCH 2/7] Add 'discovered_master' as the table header alias for 'discovered_cluster_manager' for compatibility Signed-off-by: Tianli Feng --- .../org/opensearch/rest/action/cat/RestHealthAction.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java b/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java index d43b512e77802..c05b0b9c77129 100644 --- a/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java +++ b/server/src/main/java/org/opensearch/rest/action/cat/RestHealthAction.java @@ -88,7 +88,12 @@ protected Table getTableWithHeader(final RestRequest request) { t.addCell("status", "alias:st;desc:health status"); t.addCell("node.total", "alias:nt,nodeTotal;text-align:right;desc:total number of nodes"); t.addCell("node.data", "alias:nd,nodeData;text-align:right;desc:number of nodes that can store data"); - t.addCell("discovered_cluster_manager", "alias:dm;text-align:right;desc:cluster manager is discovered or not"); + // TODO: Remove the header alias 'discovered_master', after removing MASTER_ROLE. + // The alias 'discovered_master' is added for compatibility when using request parameter 'h=discovered_master'. + t.addCell( + "discovered_cluster_manager", + "alias:dcm,dm,discovered_master;text-align:right;desc:cluster manager is discovered or not" + ); t.addCell("shards", "alias:t,sh,shards.total,shardsTotal;text-align:right;desc:total number of shards"); t.addCell("pri", "alias:p,shards.primary,shardsPrimary;text-align:right;desc:number of primary shards"); t.addCell("relo", "alias:r,shards.relocating,shardsRelocating;text-align:right;desc:number of relocating nodes"); From 9575e627106494046d054856191b57a175e5c6b4 Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Sat, 12 Mar 2022 23:33:48 -0800 Subject: [PATCH 3/7] fix yaml rest rest by using node_selector to filter nodes in 2.x version Signed-off-by: Tianli Feng --- .../rest-api-spec/test/cat.health/10_basic.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 5721ffba96754..5c2cc4e97c609 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -63,9 +63,13 @@ - skip: version: " - 1.4.99" reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" + features: node_selector + - do: cat.health: help: true + node_selector: + version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | @@ -92,8 +96,12 @@ - skip: version: " - 1.4.99" reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" + features: node_selector + - do: cat.health: {} + node_selector: + version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | @@ -123,9 +131,13 @@ - skip: version: " - 1.4.99" reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" + features: node_selector + - do: cat.health: ts: false + node_selector: + version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | From 2d32ac0dea2398d91e3bdc77ee1dda0660f8dbff Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Mon, 14 Mar 2022 02:02:25 +0000 Subject: [PATCH 4/7] Fix yaml rest test Signed-off-by: Tianli Feng --- .../test/cat.health/10_basic.yml | 71 ++++--------------- 1 file changed, 15 insertions(+), 56 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 5c2cc4e97c609..5365865aaf7a2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -1,11 +1,14 @@ --- -"Help": +"Help - pre 2.0.0": - skip: version: " - 7.10.99 , 2.0.0 - " - reason: "discovered_master added in OpenSearch 1.0.0" + reason: "discovered_master added in OpenSearch 1.0.0, and renamed to discovered_cluster_manager in 2.0.0" + features: node_selector - do: cat.health: help: true + node_selector: + version: "1.0.0 - 1.4.99" # Only send request to nodes in <2.0 versions, especially during mixedClusterTest. - match: $body: | @@ -24,52 +27,17 @@ pending_tasks .+ \n max_task_wait_time .+ \n active_shards_percent .+ \n - - $/ - - ---- -"Empty cluster": - - skip: - version: " - 7.10.99 , 2.0.0 - " - reason: "discovered_master added in OpenSearch 1.0.0" - - do: - cat.health: {} - - match: - $body: | - /^ - ( \d+ \s+ # epoch - \d\d:\d\d:\d\d \s+ # timestamp - \S+ \s+ # cluster - \w+ \s+ # status - \d+ \s+ # node.total - \d+ \s+ # node.data - \w+ \s+ # discovered_master - \d+ \s+ # shards - \d+ \s+ # pri - \d+ \s+ # relo - \d+ \s+ # init - \d+ \s+ # unassign - \d+ \s+ # pending_tasks - (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time - \d+\.\d+% # active shards percent - \n - )+ $/ --- -"Help - after 2.0.0": +"Help": - skip: version: " - 1.4.99" - reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" - features: node_selector - + reason: "discovered_cluster_manager is added in OpenSearch 2.0.0" - do: cat.health: help: true - node_selector: - version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | @@ -88,20 +56,16 @@ pending_tasks .+ \n max_task_wait_time .+ \n active_shards_percent .+ \n - + $/ --- -"Empty cluster - after 2.0.0": +"Empty cluster": - skip: - version: " - 1.4.99" - reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" - features: node_selector - + version: " - 7.10.99" + reason: "discovered_master added in OpenSearch 1.0.0" - do: cat.health: {} - node_selector: - version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | @@ -112,7 +76,7 @@ \w+ \s+ # status \d+ \s+ # node.total \d+ \s+ # node.data - \w+ \s+ # discovered_cluster_manager + \w+ \s+ # discovered_master \d+ \s+ # shards \d+ \s+ # pri \d+ \s+ # relo @@ -125,19 +89,14 @@ )+ $/ - --- "With ts parameter": - skip: - version: " - 1.4.99" - reason: "discovered_cluster_manager replaced the old terminology in 2.0.0" - features: node_selector - + version: " - 7.10.99" + reason: "discovered_master added in OpenSearch 1.0.0" - do: cat.health: ts: false - node_selector: - version: "2.0.0 - " # Only send request to nodes in 2.x versions, especially during mixedClusterTest. - match: $body: | @@ -146,7 +105,7 @@ \w+ \s+ # status \d+ \s+ # node.total \d+ \s+ # node.data - \w+ \s+ # discovered_cluster_manager + \w+ \s+ # discovered_master \d+ \s+ # shards \d+ \s+ # pri \d+ \s+ # relo From eb3f1eda243c1fa1dc06314894abc97912a8b9e2 Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Sun, 13 Mar 2022 20:59:27 -0700 Subject: [PATCH 5/7] Add comments in cat.health yaml rest test Signed-off-by: Tianli Feng --- .../test/cat.health/10_basic.yml | 147 +++++++++--------- 1 file changed, 76 insertions(+), 71 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 5365865aaf7a2..3f72c45c1074c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -1,5 +1,5 @@ --- -"Help - pre 2.0.0": +"Help - before 2.0.0": - skip: version: " - 7.10.99 , 2.0.0 - " reason: "discovered_master added in OpenSearch 1.0.0, and renamed to discovered_cluster_manager in 2.0.0" @@ -8,27 +8,32 @@ cat.health: help: true node_selector: - version: "1.0.0 - 1.4.99" # Only send request to nodes in <2.0 versions, especially during mixedClusterTest. + # Only send request to nodes in <2.0 versions, especially during ':qa:mixed-cluster:v1.x.x#mixedClusterTest'. + # Because YAML REST test takes the minimum OpenSearch version in the cluster to apply the filter in 'skip' section, + # see OpenSearchClientYamlSuiteTestCase#initAndResetContext() for detail. + # During 'mixedClusterTest', the cluster can be mixed with nodes in 1.x and 2.x versions, + # so node_selector is required, and only filtering version in 'skip' is not enough. + version: "1.0.0 - 1.4.99" - match: $body: | - /^ epoch .+ \n - timestamp .+ \n - cluster .+ \n - status .+ \n - node.total .+ \n - node.data .+ \n - discovered_master .+ \n - shards .+ \n - pri .+ \n - relo .+ \n - init .+ \n - unassign .+ \n - pending_tasks .+ \n - max_task_wait_time .+ \n - active_shards_percent .+ \n + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_master .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n - $/ + $/ --- "Help": @@ -41,23 +46,23 @@ - match: $body: | - /^ epoch .+ \n - timestamp .+ \n - cluster .+ \n - status .+ \n - node.total .+ \n - node.data .+ \n - discovered_cluster_manager .+ \n - shards .+ \n - pri .+ \n - relo .+ \n - init .+ \n - unassign .+ \n - pending_tasks .+ \n - max_task_wait_time .+ \n - active_shards_percent .+ \n - - $/ + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_cluster_manager .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n + + $/ --- "Empty cluster": @@ -69,25 +74,25 @@ - match: $body: | - /^ - ( \d+ \s+ # epoch - \d\d:\d\d:\d\d \s+ # timestamp - \S+ \s+ # cluster - \w+ \s+ # status - \d+ \s+ # node.total - \d+ \s+ # node.data - \w+ \s+ # discovered_master - \d+ \s+ # shards - \d+ \s+ # pri - \d+ \s+ # relo - \d+ \s+ # init - \d+ \s+ # unassign - \d+ \s+ # pending_tasks - (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time - \d+\.\d+% # active shards percent - \n - )+ - $/ + /^ + ( \d+ \s+ # epoch + \d\d:\d\d:\d\d \s+ # timestamp + \S+ \s+ # cluster + \w+ \s+ # status + \d+ \s+ # node.total + \d+ \s+ # node.data + \w+ \s+ # discovered_master + \d+ \s+ # shards + \d+ \s+ # pri + \d+ \s+ # relo + \d+ \s+ # init + \d+ \s+ # unassign + \d+ \s+ # pending_tasks + (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time + \d+\.\d+% # active shards percent + \n + )+ + $/ --- "With ts parameter": @@ -100,20 +105,20 @@ - match: $body: | - /^ - ( \S+ \s+ # cluster - \w+ \s+ # status - \d+ \s+ # node.total - \d+ \s+ # node.data - \w+ \s+ # discovered_master - \d+ \s+ # shards - \d+ \s+ # pri - \d+ \s+ # relo - \d+ \s+ # init - \d+ \s+ # unassign - \d+ \s+ # pending_tasks - (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time - \d+\.\d+% # active shards percent - \n - )+ - $/ + /^ + ( \S+ \s+ # cluster + \w+ \s+ # status + \d+ \s+ # node.total + \d+ \s+ # node.data + \w+ \s+ # discovered_master + \d+ \s+ # shards + \d+ \s+ # pri + \d+ \s+ # relo + \d+ \s+ # init + \d+ \s+ # unassign + \d+ \s+ # pending_tasks + (-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time + \d+\.\d+% # active shards percent + \n + )+ + $/ From 948691456fae85b43c4da581a0cdfb5328b8eb19 Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Sun, 13 Mar 2022 21:01:16 -0700 Subject: [PATCH 6/7] Adjust format Signed-off-by: Tianli Feng --- .../test/cat.health/10_basic.yml | 65 ++++++++++--------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 3f72c45c1074c..5920d3f14e0c5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -17,23 +17,23 @@ - match: $body: | - /^ epoch .+ \n - timestamp .+ \n - cluster .+ \n - status .+ \n - node.total .+ \n - node.data .+ \n - discovered_master .+ \n - shards .+ \n - pri .+ \n - relo .+ \n - init .+ \n - unassign .+ \n - pending_tasks .+ \n - max_task_wait_time .+ \n - active_shards_percent .+ \n + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_master .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n - $/ + $/ --- "Help": @@ -46,23 +46,23 @@ - match: $body: | - /^ epoch .+ \n - timestamp .+ \n - cluster .+ \n - status .+ \n - node.total .+ \n - node.data .+ \n - discovered_cluster_manager .+ \n - shards .+ \n - pri .+ \n - relo .+ \n - init .+ \n - unassign .+ \n - pending_tasks .+ \n - max_task_wait_time .+ \n - active_shards_percent .+ \n + /^ epoch .+ \n + timestamp .+ \n + cluster .+ \n + status .+ \n + node.total .+ \n + node.data .+ \n + discovered_master .+ \n + shards .+ \n + pri .+ \n + relo .+ \n + init .+ \n + unassign .+ \n + pending_tasks .+ \n + max_task_wait_time .+ \n + active_shards_percent .+ \n - $/ + $/ --- "Empty cluster": @@ -94,6 +94,7 @@ )+ $/ + --- "With ts parameter": - skip: From b89a75484c59e5f69320181e93340bdb508ea44d Mon Sep 17 00:00:00 2001 From: Tianli Feng Date: Sun, 13 Mar 2022 21:58:02 -0700 Subject: [PATCH 7/7] Fix yaml rest test that changed by mistake Signed-off-by: Tianli Feng --- .../main/resources/rest-api-spec/test/cat.health/10_basic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml index 5920d3f14e0c5..0d945d01a6ddb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml @@ -52,7 +52,7 @@ status .+ \n node.total .+ \n node.data .+ \n - discovered_master .+ \n + discovered_cluster_manager .+ \n shards .+ \n pri .+ \n relo .+ \n