Skip to content

Conversation

@jdconrad
Copy link
Contributor

The SourceValueFetcherSortedBooleanDocValues previously accumulated true/false value totals without resetting between documents. This means that any counts on the same segment would continue to increase true/false value totals over multiple documents. This change fixes that bug by resetting true/false value totals per document.

@jdconrad jdconrad added >bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache auto-backport Automatically create backport pull requests when merged v8.5.1 v8.6.0 labels Oct 13, 2022
@jdconrad jdconrad requested a review from romseygeek October 13, 2022 22:15
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Oct 13, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @jdconrad, I've created a changelog YAML for you.

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jdconrad jdconrad merged commit 32439f4 into elastic:main Oct 17, 2022
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.5 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 90895

@jdconrad jdconrad removed the auto-backport Automatically create backport pull requests when merged label Oct 17, 2022
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Oct 17, 2022
…0895)

The SourceValueFetcherSortedBooleanDocValues previously accumulated true/false value totals
without resetting between documents. This means that any counts on the same segment would
continue to increase true/false value totals over multiple documents. This change fixes that bug by
resetting true/false value totals per document.
jdconrad added a commit that referenced this pull request Oct 17, 2022
…90959)

The SourceValueFetcherSortedBooleanDocValues previously accumulated true/false value totals
without resetting between documents. This means that any counts on the same segment would
continue to increase true/false value totals over multiple documents. This change fixes that bug by
resetting true/false value totals per document.
@csoulios csoulios added v8.5.0 and removed v8.5.1 labels Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v8.5.0 v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants