Skip to content

Conversation

@JVerwolf
Copy link
Contributor

@JVerwolf JVerwolf commented Jan 14, 2025

Jira: ES-9724

This PR removes a potential cause of data loss when migrating system indices. It does this by changing the way we set a "write-block" on the system index to migrate - now using a dedicated transport request rather than a settings update. Furthermore, we no longer delete the write-block prior to deleting the index, as this was another source of potential data loss. Additionally, we now remove the block if the migration fails.

8.x branch pr: #120566

@JVerwolf JVerwolf added :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >bug labels Jan 21, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@alexey-ivanov-es
Copy link
Contributor

PR restoring tests in main has been merged: #120663

… github.com:JVerwolf/elasticsearch into enhancement/es-9724-reduce-data-loss-system-indices
@JVerwolf JVerwolf marked this pull request as ready for review January 28, 2025 19:14
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@JVerwolf JVerwolf requested review from a team and alexey-ivanov-es January 28, 2025 19:14
Copy link
Contributor

@alexey-ivanov-es alexey-ivanov-es left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants