Skip to content

Conversation

JVerwolf
Copy link
Contributor

@JVerwolf JVerwolf commented Feb 10, 2025

Reverts #121120 with a fix for #120566, which was causing the system index migration service to fail when security was enabled.

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.

This is a backport of #121327
Jira: ES-9724

@JVerwolf JVerwolf requested review from a team as code owners February 10, 2025 21:55
@JVerwolf JVerwolf changed the base branch from main to 8.18 February 10, 2025 21:55
@elastic elastic deleted a comment from github-actions bot Feb 10, 2025
@elastic elastic deleted a comment from github-actions bot Feb 10, 2025
@elasticsearchmachine elasticsearchmachine added v8.18.1 needs:triage Requires assignment of a team area label labels Feb 10, 2025
@JVerwolf JVerwolf added >bug :Core/Infra/Core Core issues without another label and removed needs:triage Requires assignment of a team area label labels Feb 10, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Feb 10, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@JVerwolf JVerwolf enabled auto-merge (squash) February 10, 2025 22:06
@JVerwolf JVerwolf added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Feb 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit 8909630 into elastic:8.18 Feb 10, 2025
15 checks passed
@JVerwolf JVerwolf deleted the bugfix/fix-priveledges-in-system-migration-block-8.18 branch February 10, 2025 23:07
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 >bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v8.18.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants