Skip to content
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

block-writes cannot be added after read-only #119007

Merged

Conversation

parkertimmins
Copy link
Contributor

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.

Bug was introduced in #118890
Fixes #119002

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.
@elasticsearchmachine elasticsearchmachine added v9.0.0 needs:triage Requires assignment of a team area label labels Dec 18, 2024
@parkertimmins parkertimmins added >bug :Data Management/Data streams Data streams and their lifecycles v9.0.0 and removed v9.0.0 needs:triage Requires assignment of a team area label labels Dec 18, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Dec 18, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

@parkertimmins parkertimmins merged commit 8c5f0d6 into elastic:main Dec 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

org.elasticsearch.xpack.migrate.action.ReindexDatastreamIndexTransportActionIT.testReadOnlyAddedBack failed
3 participants