Skip to content

[8.x] Add action to create index from a source index (#118890)#118990

Merged
elasticsearchmachine merged 2 commits intoelastic:8.xfrom
parkertimmins:backport/8.x/pr-118890
Dec 18, 2024
Merged

[8.x] Add action to create index from a source index (#118890)#118990
elasticsearchmachine merged 2 commits intoelastic:8.xfrom
parkertimmins:backport/8.x/pr-118890

Conversation

@parkertimmins
Copy link
Contributor

Backports the following commits to 8.x:

Add new action that creates an index from a source
index, copying settings and mappings from the source index.
This was refactored out of ReindexDataStreamIndexAction.
Fix bug in ReindexDataStreamIndexAction. If the source index has both a block-writes and is read-only, these must be updated on the destination index. If read-only is set first, the block-writes cannot be added because settings cannot be modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >enhancement :StorageEngine/Data streams Data streams and their lifecycles Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.18.0

2 participants