Skip to content

Commit 3da0256

Browse files
committed
missing master timeout
1 parent 00d789b commit 3da0256

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@
9494
],
9595
"response": []
9696
},
97-
"ilm.migrate_to_data_tiers": {
98-
"request": [
99-
"Request: missing json spec query parameter 'master_timeout'"
100-
],
101-
"response": []
102-
},
10397
"index": {
10498
"request": [
10599
"Request: missing json spec query parameter 'require_data_stream'"

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ilm/migrate_to_data_tiers/Request.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
import { RequestBase } from '@_types/Base'
21+
import { Duration } from '@_types/Time'
2122

2223
/**
2324
* Migrate to data tiers routing.
@@ -53,6 +54,13 @@ export interface Request extends RequestBase {
5354
* @server_default false
5455
*/
5556
dry_run?: boolean
57+
/**
58+
* The period to wait for a connection to the master node.
59+
* If no response is received before the timeout expires, the request fails and returns an error.
60+
* It can also be set to `-1` to indicate that the request should never timeout.
61+
* @server_default 30s
62+
*/
63+
master_timeout?: Duration
5664
}
5765
body: {
5866
legacy_template_to_delete?: string

0 commit comments

Comments
 (0)