Skip to content

Modify field collapsing tests #65018

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

Closed
wants to merge 3 commits into from

Conversation

mayya-sharipova
Copy link
Contributor

@mayya-sharipova mayya-sharipova commented Nov 12, 2020

There are test failures of 110_field_collapsing test that
happen only in a mixed cluster on 7.x + 6.x nodes.
The failure looks to be about that some hits are not visible for search,
as even a simple count query fails as it expects 6 hits, but gets
only 5.

Thus a possible explanation for failure could be that indexing
operation was not completely successful.

This modifies the test as:

  • use number_of_replicas: 0
  • uses bulk indexing instead of a number of index operations
  • breaks a test into two: 1) simple indexing and 2) indexing
    with versions to check if a problem with indexing could be because
    of versions.

Relates to #52416

There are test failures of 110_field_collapsing test that
happen only in a mixed cluster on 7.x + 6.x nodes.
The failure looks to be about that some hits are not visible for search,
as even a simple count query fails as it expects 6 hits, but gets
only 5.

Thus a possible explanation for failure  could be that indexing
operation was not completely successful.

This modifies the test as:
- uses bulk indexing instead of a number of index operations
- breaks a test into two: 1) simple indexing and
2) indexing with versions to check if a problem with indexing
could be because of versions.

Relates to elastic#52416
@mayya-sharipova mayya-sharipova added the :Search/Search Search-related issues that do not fall into other categories label Nov 12, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Nov 12, 2020
@mayya-sharipova mayya-sharipova added >test-failure Triaged test failures from CI >test Issues or PRs that are addressing/adding tests v7.10.1 v7.11.0 v8.0.0 and removed Team:Search Meta label for search team >test-failure Triaged test failures from CI labels Nov 12, 2020
@fcofdez fcofdez added v7.10.2 and removed v7.10.1 labels Nov 24, 2020
@breskeby breskeby added v7.10.3 and removed v7.10.2 labels Jan 6, 2021
@mayya-sharipova mayya-sharipova added the :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. label Jan 29, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jan 29, 2021
@elasticmachine
Copy link
Collaborator

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

@mayya-sharipova
Copy link
Contributor Author

Pinging also distributed team, because count API did not match the number of expected indexed docs.

@mayya-sharipova
Copy link
Contributor Author

Closing in favour of #69753

@mayya-sharipova mayya-sharipova deleted the collapse-test branch March 1, 2021 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. :Search/Search Search-related issues that do not fall into other categories Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v6.8.15 v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants