diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 88f00f7017..3c4029d58e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -112128,8 +112128,8 @@ "cluster.state-master_timeout": { "in": "query", "name": "master_timeout", - "description": "Specify timeout for connection to master", - "deprecated": false, + "description": "Timeout for waiting for new cluster state in case it is blocked", + "deprecated": true, "schema": { "$ref": "#/components/schemas/_types.Duration" }, diff --git a/output/schema/schema.json b/output/schema/schema.json index 782e2dff77..0fb1f9fffa 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -124569,7 +124569,11 @@ } }, { - "description": "Specify timeout for connection to master", + "deprecation": { + "description": "", + "version": "9.2.0" + }, + "description": "Timeout for waiting for new cluster state in case it is blocked", "name": "master_timeout", "required": false, "serverDefault": "30s", @@ -124606,7 +124610,7 @@ } } ], - "specLocation": "cluster/state/ClusterStateRequest.ts#L29-L89" + "specLocation": "cluster/state/ClusterStateRequest.ts#L29-L93" }, { "kind": "response", diff --git a/specification/_json_spec/cluster.state.json b/specification/_json_spec/cluster.state.json index 09482481f9..4e09e66c3f 100644 --- a/specification/_json_spec/cluster.state.json +++ b/specification/_json_spec/cluster.state.json @@ -63,12 +63,13 @@ }, "params": { "local": { + "deprecated": true, "type": "boolean", "description": "Return local information, do not retrieve the state from master node (default: false)" }, "master_timeout": { "type": "time", - "description": "Specify timeout for connection to master" + "description": "Timeout for waiting for new cluster state in case it is blocked" }, "flat_settings": { "type": "boolean", diff --git a/specification/cluster/state/ClusterStateRequest.ts b/specification/cluster/state/ClusterStateRequest.ts index 71bf6bee7f..29772d76eb 100644 --- a/specification/cluster/state/ClusterStateRequest.ts +++ b/specification/cluster/state/ClusterStateRequest.ts @@ -81,7 +81,11 @@ export interface Request extends RequestBase { ignore_unavailable?: boolean /** @server_default false */ local?: boolean - /** @server_default 30s */ + /** + * Timeout for waiting for new cluster state in case it is blocked + * @deprecated 9.2.0 + * @server_default 30s + * */ master_timeout?: Duration wait_for_metadata_version?: VersionNumber wait_for_timeout?: Duration