Skip to content

Conversation

DaveCTurner
Copy link
Contributor

Today if you attempt to verify the integrity of a brand-new repository
(no index-${N} blob) then it will fail because the repository
generation is -1 which cannot be sent over the wire. But it makes no
sense to verify the integrity of such a repository anyway, so with this
commit we fail such requests up-front with a more helpful error message.

Backport of #131677 to 9.1

Today if you attempt to verify the integrity of a brand-new repository
(no `index-${N}` blob) then it will fail because the repository
generation is `-1` which cannot be sent over the wire. But it makes no
sense to verify the integrity of such a repository anyway, so with this
commit we fail such requests up-front with a more helpful error message.

Backport of elastic#131677 to `9.1`
@DaveCTurner DaveCTurner added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v9.1.1 labels Jul 22, 2025
@elasticsearchmachine elasticsearchmachine merged commit 0067170 into elastic:9.1 Jul 22, 2025
34 checks passed
@DaveCTurner DaveCTurner deleted the 2025/07/22/backport-131677-9.1 branch July 22, 2025 13:03
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 :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v9.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants