-
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
Async Processors and Final Pipelines are Broken #69818
Async Processors and Final Pipelines are Broken #69818
Conversation
There was an obvious race here where async processor and final pipeline will run concurrently.
Pinging @elastic/es-core-features (Team:Core/Features) |
server/src/internalClusterTest/java/org/elasticsearch/index/FinalPipelineIT.java
Outdated
Show resolved
Hide resolved
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, 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
Thanks @probakowski ! |
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)
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)
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 (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 (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)
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 (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)