Skip to content

[8.18] Updating TransportRolloverAction.checkBlock so that non-write-index blocks do not prevent data stream rollover (#122905)#123068

Merged
elasticsearchmachine merged 1 commit intoelastic:8.18from
masseyke:backport/8.18/pr-122905
Feb 20, 2025
Merged

[8.18] Updating TransportRolloverAction.checkBlock so that non-write-index blocks do not prevent data stream rollover (#122905)#123068
elasticsearchmachine merged 1 commit intoelastic:8.18from
masseyke:backport/8.18/pr-122905

Conversation

@masseyke
Copy link
Member

Right now, TransportRolloverAction's checkBlock returns an exception if any backing index has a block. If a user puts a block on some old index, the data stream cannot rollover, even though rollover only impacts the write index (and the to-be-created write index). This changes TransportRolloverAction.checkBlock so that rollover doesn't fail if non-write-indices have a block.

@masseyke masseyke added >bug backport :StorageEngine/Data streams Data streams and their lifecycles auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.18.0 v8.18.1 labels Feb 20, 2025
@elasticsearchmachine elasticsearchmachine merged commit 0e42877 into elastic:8.18 Feb 20, 2025
15 checks passed
@masseyke masseyke deleted the backport/8.18/pr-122905 branch February 20, 2025 20:30
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 :StorageEngine/Data streams Data streams and their lifecycles v8.18.0 v8.18.1

2 participants