Skip to content

Conversation

parkertimmins
Copy link
Contributor

_create_from takes a argument remove_index_blocks which determines whether the destination index will have any index blocks from the source index filtered out before creation. Change the default to true, meaning index blocks are removed.

@parkertimmins parkertimmins added >enhancement :Data Management/Indices APIs APIs to create and manage indices and templates auto-backport Automatically create backport pull requests when merged v9.0.0 v8.18.0 labels Jan 22, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Jan 22, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi @parkertimmins, I've created a changelog YAML for you.

Copy link
Contributor

@lukewhiting lukewhiting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@parkertimmins parkertimmins merged commit e2f2ac3 into elastic:main Jan 22, 2025
16 checks passed
@parkertimmins parkertimmins deleted the create-from-remove-blocks-by-default branch January 22, 2025 17:33
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
parkertimmins added a commit to parkertimmins/elasticsearch that referenced this pull request Jan 22, 2025
Change the default value for the `remove_index_blocks` parameter of the `_create_from` api to true. This means that when a source index has blocks, by default these blocks will be filtered out when creating the destination index.
elasticsearchmachine pushed a commit that referenced this pull request Jan 22, 2025
* Remove index blocks by default in create_from (#120643) Change the default value for the `remove_index_blocks` parameter of the `_create_from` api to true. This means that when a source index has blocks, by default these blocks will be filtered out when creating the destination index. * Fix broken yaml test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Data Management/Indices APIs APIs to create and manage indices and templates >enhancement Team:Data Management Meta label for data/management team v8.18.0 v9.0.0

3 participants