Skip to content

Bump post-recovery merge minimum version#121997

Merged
elasticsearchmachine merged 4 commits intoelastic:mainfrom
DaveCTurner:2025/02/07/post-recovery-merge-bump-version
Feb 18, 2025
Merged

Bump post-recovery merge minimum version#121997
elasticsearchmachine merged 4 commits intoelastic:mainfrom
DaveCTurner:2025/02/07/post-recovery-merge-bump-version

Conversation

@DaveCTurner
Copy link
Contributor

In #113462 we introduced a version bound on post-recovery merges to
avoid a spike of merge activity after an upgrade. At the time there was
no IndexVersion unique to the 9.x series, but we have such a version
now, so this commit properly restricts post-recovery merges to only
apply to indices created by versions that support them.

Relates ES-9620

In elastic#113462 we introduced a version bound on post-recovery merges to
avoid a spike of merge activity after an upgrade. At the time there was
no `IndexVersion` unique to the 9.x series, but we have such a version
now, so this commit properly restricts post-recovery merges to only
apply to indices created by versions that support them.

Relates ES-9620
@DaveCTurner DaveCTurner added >non-issue :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. v9.0.1 v9.1.0 labels Feb 7, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. label Feb 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

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

LGTM.

@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged labels Feb 17, 2025
@elasticsearchmachine elasticsearchmachine merged commit 45f0471 into elastic:main Feb 18, 2025
17 checks passed
@DaveCTurner DaveCTurner deleted the 2025/02/07/post-recovery-merge-bump-version branch February 18, 2025 17:36
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Feb 18, 2025
In elastic#113462 we introduced a version bound on post-recovery merges to
avoid a spike of merge activity after an upgrade. At the time there was
no `IndexVersion` unique to the 9.x series, but we have such a version
now, so this commit properly restricts post-recovery merges to only
apply to indices created by versions that support them.

Relates ES-9620
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0
elasticsearchmachine pushed a commit that referenced this pull request Feb 18, 2025
In #113462 we introduced a version bound on post-recovery merges to
avoid a spike of merge activity after an upgrade. At the time there was
no `IndexVersion` unique to the 9.x series, but we have such a version
now, so this commit properly restricts post-recovery merges to only
apply to indices created by versions that support them.

Relates ES-9620
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 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. >non-issue Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. v9.0.1 v9.1.0

3 participants