Skip to content

Fix ExtraFS Breaking SharedClusterSnapshotRestoreIT (#58026) #58041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

original-brownbear
Copy link
Contributor

If ExtraFS decides to put extra0/0 into the indices folder
then the previous logic in this test would have interpreted the 0
as shard 0 of index extra0 and fail to list its contents (since it's a file
and not an actual shard directory).

=> simplified the logic to use actually referenced IndexId for iterating over indices
instead.

backport of #58026

If `ExtraFS` decides to put `extra0/0` into the indices folder
then the previous logic in this test would have interpreted the `0`
as shard `0` of index `extra0` and fail to list its contents (since it's a file
and not an actual shard directory).

=> simplified the logic to use actually referenced `IndexId` for iterating over indices
instead.
@original-brownbear original-brownbear added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Jun 12, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jun 12, 2020
@original-brownbear original-brownbear merged commit c5b49e5 into elastic:7.8 Jun 12, 2020
@original-brownbear original-brownbear deleted the 58026-7.8 branch June 12, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants