Skip to content

[7.6] Handle errors when evaluating if conditions in processors #52639

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

Merged
merged 2 commits into from
Feb 21, 2020

Conversation

danhermann
Copy link
Contributor

In certain ingest pipelines, any failures when evaluating the condition for an if clause would result in partial execution of both the success and failure handlers for the processor. This manifested as a double decrement of the ingestCurrent processor metric which, once it went negative, could no longer be serialized as a non-negative long.

Backport of #52543.

@danhermann danhermann added :Data Management/Stats Statistics tracking and retrieval APIs backport v7.6.1 labels Feb 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Stats)

@danhermann danhermann merged commit bf0d515 into elastic:7.6 Feb 21, 2020
@danhermann danhermann deleted the backport_52543_negative_stats branch February 21, 2020 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Stats Statistics tracking and retrieval APIs v7.6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants