-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Upgrade Assistant] Batch reindex docs #112960
Changes from all commits
a33d408
6e32017
9071fdf
f90d857
8cb8b9c
890d25d
ecdcdb8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
experimental["The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental."] | ||
|
||
Start or resume multiple reindexing tasks in one request. Additionally, reindexing tasks started or resumed | ||
Start or resume multiple <<start-resume-reindex, reindexing>> tasks in one request. Additionally, reindexing tasks started or resumed | ||
via the batch endpoint will be placed on a queue and executed one-by-one, which ensures that minimal cluster resources | ||
are consumed over time. | ||
|
||
|
@@ -76,7 +76,7 @@ Similar to the <<start-resume-reindex, start or resume endpoint>>, the API retur | |
} | ||
-------------------------------------------------- | ||
|
||
<1> A list of reindex operations created, the order in the array indicates the order in which tasks will be executed. | ||
<1> A list of reindex tasks created, the order in the array indicates the order in which tasks will be executed. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing wording for consistency, as we use "task" everywhere else. |
||
<2> Presence of this key indicates that the reindex job will occur in the batch. | ||
<3> A Unix timestamp of when the reindex task was placed in the queue. | ||
<4> A list of errors that may have occurred preventing the reindex task from being created. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,18 @@ | |
<titleabbrev>Start or resume reindex</titleabbrev> | ||
++++ | ||
|
||
experimental[] Start a new reindex or resume a paused reindex. | ||
experimental["The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental."] | ||
|
||
Start a new reindex or resume a paused reindex. Following steps are performed during | ||
a reindex task: | ||
|
||
. Setting the index to read-only | ||
. Creating a new index | ||
. {ref}/docs-reindex.html[Reindexing] documents into the new index | ||
. Creating an index alias for the new index | ||
. Deleting the old index | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This list doesn't contain 2 steps: stopping and starting "index group services, only applies to some indices" which happens for ml and watcher indices. This code will be removed from UA this release because system indices will have their own separate deprecation resolution process. |
||
|
||
|
||
Start a new reindex or resume a paused reindex. | ||
|
||
[[start-resume-reindex-request]] | ||
==== Request | ||
|
@@ -40,6 +49,6 @@ The API returns the following: | |
<1> The name of the new index. | ||
<2> The reindex status. For more information, refer to <<status-code,Status codes>>. | ||
<3> The last successfully completed step of the reindex. For more information, refer to <<step-code,Step codes>>. | ||
<4> The task ID of the reindex task in {es}. Appears when the reindexing starts. | ||
<5> The progress of the reindexing task in {es}. Appears in decimal form, from 0 to 1. | ||
<4> The task ID of the {ref}/docs-reindex.html[reindex] task in {es}. Appears when the reindexing starts. | ||
<5> The progress of the {ref}/docs-reindex.html[reindexing] task in {es}. Appears in decimal form, from 0 to 1. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should link out to ES Reindex API page |
||
<6> The error that caused the reindex to fail, if it failed. |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should link to the Kibana Start or resume reindex API page