Skip to content

Conversation

@lockewritesdocs
Copy link
Contributor

7.8 backport of #59775

Related to #59767

We can't just assume a fixed number for the overall file count.
Depending on how the merging/flushing works out we won't always have
4 files for the index across all versions, systems etc.
Also, we could have x-pack concurrently create some system indices
which could mess up the total numbers here.
Fixed by only snapshotting a single index+shard in the snapshot that
we get the status for and verifying consistency instead of equality
for total file counts.

Closes elastic#59767
@lockewritesdocs lockewritesdocs added >docs General docs changes :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. Team:Docs Meta label for docs team v7.8.1 labels Jul 17, 2020
@lockewritesdocs lockewritesdocs self-assigned this Jul 17, 2020
@elasticmachine
Copy link
Collaborator

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

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@lockewritesdocs lockewritesdocs merged commit d107496 into elastic:7.8 Jul 17, 2020
@lockewritesdocs lockewritesdocs deleted the docs__fix-snapshot-status-test-7.8 branch July 17, 2020 15:11
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 >docs General docs changes Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. Team:Docs Meta label for docs team v7.8.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants