Skip to content

Conversation

@nielsbauman
Copy link
Contributor

In #133954, we modified the searchable_snapshot ILM action to clone the index with 0 replicas before performing the force-merge. We didn't take the index.auto_expand_replicas setting into account, which could result in the clone having indices after all. That's harmless, as it merely nullifies the optimization of that PR, but we should remove the setting to ensure we achieve the intended optimizations.

…le_snapshot`

In elastic#133954, we modified the `searchable_snapshot` ILM action to clone
the index with 0 replicas before performing the force-merge. We didn't
take the `index.auto_expand_replicas` setting into account, which could
result in the clone having indices after all. That's harmless, as it
merely nullifies the optimization of that PR, but we should remove the
setting to ensure we achieve the intended optimizations.
@nielsbauman nielsbauman added >bug :Data Management/ILM+SLM Index and Snapshot lifecycle management auto-backport Automatically create backport pull requests when merged branch:9.2 labels Oct 24, 2025
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team v9.2.1 v9.3.0 labels Oct 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@masseyke masseyke left a comment

Choose a reason for hiding this comment

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

LGTM

@nielsbauman nielsbauman enabled auto-merge (squash) October 24, 2025 15:15
@nielsbauman nielsbauman merged commit bd94fd8 into elastic:main Oct 24, 2025
34 checks passed
@nielsbauman nielsbauman deleted the fix-searchable-snapshot-clone branch October 24, 2025 16:15
nielsbauman added a commit to nielsbauman/elasticsearch that referenced this pull request Oct 24, 2025
…le_snapshot` (elastic#137111)

In elastic#133954, we modified the `searchable_snapshot` ILM action to clone
the index with 0 replicas before performing the force-merge. We didn't
take the `index.auto_expand_replicas` setting into account, which could
result in the clone having indices after all. That's harmless, as it
merely nullifies the optimization of that PR, but we should remove the
setting to ensure we achieve the intended optimizations.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2

elasticsearchmachine pushed a commit that referenced this pull request Oct 24, 2025
…le_snapshot` (#137111) (#137120)

In #133954, we modified the `searchable_snapshot` ILM action to clone
the index with 0 replicas before performing the force-merge. We didn't
take the `index.auto_expand_replicas` setting into account, which could
result in the clone having indices after all. That's harmless, as it
merely nullifies the optimization of that PR, but we should remove the
setting to ensure we achieve the intended optimizations.
fzowl pushed a commit to voyage-ai/elasticsearch that referenced this pull request Nov 3, 2025
…le_snapshot` (elastic#137111)

In elastic#133954, we modified the `searchable_snapshot` ILM action to clone
the index with 0 replicas before performing the force-merge. We didn't
take the `index.auto_expand_replicas` setting into account, which could
result in the clone having indices after all. That's harmless, as it
merely nullifies the optimization of that PR, but we should remove the
setting to ensure we achieve the intended optimizations.
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 >bug :Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants