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
MixedClusterClientYamlTestSuiteIT: Multisearch test with typed_keys parameter for sampler and significant terms failure #57402
Comments
Pinging @elastic/es-search (:Search/Search) |
Muted on 7.x in #57406 |
Pinging @elastic/es-analytics-geo (:Analytics/Aggregations) |
@nik9000 could it be related to your recent change on the sig terms agg ? |
I'll take a look! |
Yup. That is me! I've got a fix coming in #57397. |
This reproduces it for me:
|
This is failing again in the 7.x branch even after the fix of 98c379c. Two checks on the same PR build failed with this error:
|
Booo! I see my mistake. Sorry for the noise. I'll push a fix once I'm well and truly sure I'm not doing it wrong. |
Or, no, I don't see my problem. But I'll figure it out. |
Looks like this happens in master too, but it is less likely to show up: |
When you run a `significant_terms` aggregation on a field and it *is* mapped but there aren't any values for it then the count of the documents that match the query on that shard still have to be added to the overall doc count. I broke that in elastic#57361. This fixes that. Closes elastic#57402
When you run a `significant_terms` aggregation on a field and it *is* mapped but there aren't any values for it then the count of the documents that match the query on that shard still have to be added to the overall doc count. I broke that in elastic#57361. This fixes that. Closes elastic#57402
Build scan:
https://gradle-enterprise.elastic.co/s/qaucfxmv5kp76
Repro line:
Reproduces locally?:
No
Applicable branches:
7.x
Failure history:
Many failures since May 30th all on the 7.x branch in a mixed cluster with 6.8.y
https://build-stats.elastic.co/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-7d,mode:quick,to:now))&_a=(columns:!(branch),index:e58bf320-7efd-11e8-bf69-63c8ef516157,interval:auto,query:(language:lucene,query:'%22Multisearch%20test%22'),sort:!(time,desc))
Failure excerpt:
The text was updated successfully, but these errors were encountered: