Skip to content
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

Async Processors and Final Pipelines are Broken #69818

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Mar 2, 2021

There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates #52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)

There was an obvious race here where async processor and final pipeline will
run concurrently.
@original-brownbear original-brownbear added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP v8.0.0 v7.12.0 v7.13.0 labels Mar 2, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Mar 2, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@probakowski probakowski left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this @original-brownbear!
I wondered if we can hit stack overflow in case of sync processors (we do recurse in that case) but I think it's not a problem here as it should have at most 2 items in it

@original-brownbear
Copy link
Member Author

Thanks @probakowski !

@original-brownbear original-brownbear merged commit 2561b94 into elastic:master Mar 3, 2021
@original-brownbear original-brownbear deleted the async-proc-final-pipeline branch March 3, 2021 03:52
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 3, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates elastic#52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 3, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates elastic#52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
original-brownbear added a commit that referenced this pull request Mar 3, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates #52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
original-brownbear added a commit that referenced this pull request Mar 3, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates #52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 4, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates elastic#52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
original-brownbear added a commit that referenced this pull request Mar 4, 2021
There was an obvious race here where async processor and final pipeline will
run concurrently (or the final pipeline runs multiple times in from the while loop).

relates #52339 (fixes one failure scenario here but since the failure also occurred in 7.10.x not all of them)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v7.11.2 v7.12.0 v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants