You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding a _migration/reindex endpoint
* Adding rest api spec and test
* Adding a feature flag for reindex data streams
* updating json spec
* fixing a typo
* Changing mode to an enum
* Moving ParseFields into public static finals
* Commenting out test that leaves task running, until we add a cancel API
* Removing persistent task id from output
* replacing a string with a variable
"description":"This API reindexes all legacy backing indices for a data stream. It does this in a persistent task. The persistent task id is returned immediately, and the reindexing work is completed in that task"
6
+
},
7
+
"stability":"experimental",
8
+
"visibility":"private",
9
+
"headers":{
10
+
"accept": [ "application/json"],
11
+
"content_type": ["application/json"]
12
+
},
13
+
"url":{
14
+
"paths":[
15
+
{
16
+
"path":"/_migration/reindex",
17
+
"methods":[
18
+
"POST"
19
+
]
20
+
}
21
+
]
22
+
},
23
+
"body":{
24
+
"description":"The body contains the fields `mode` and `source.index, where the only mode currently supported is `upgrade`, and the `source.index` must be a data stream name",
Copy file name to clipboardExpand all lines: x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDataStreamTransportActionIT.java
0 commit comments