-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Handle errors when evaluating if conditions in processors #52543
Conversation
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
@elasticmachine run elasticsearch-ci/2 |
@elasticmachine update branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
The backport PR seems to have been merged. I'm therefore removing the backport pending label here. Please shout if this is incorrect |
I just got the 7.x backport in which was the only one remaining. |
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 theingestCurrent
processor metric which, once it went negative, could no longer be serialized as a non-negativelong
.Fixes #52339.