Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Dec 5, 2018

This change ensures that shards don't set the total hits to an approximate value when the total number of hits is not tracked (track_total_hits is false). This is required to ensure that a node in 7 don't send an approximate total hits to a node in 6x. We have an assertion in the total hits serialization code that checks this and this caused some random failures during the bwc tests.

Closes #36284

@jimczi jimczi added >non-issue :Search/Search Search-related issues that do not fall into other categories v7.0.0 labels Dec 5, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@jimczi
Copy link
Contributor Author

jimczi commented Dec 6, 2018

Superseded by #36290

@jimczi jimczi closed this Dec 6, 2018
@jimczi jimczi deleted the total_hits_gte branch December 6, 2018 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search/Search Search-related issues that do not fall into other categories v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants