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

[Backport 7.x] Fix enrich coordinator to reject documents instead of deadlocking (#56247) #57179

Merged
merged 1 commit into from
May 27, 2020

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented May 26, 2020

Backport of:

Relates #56247

…astic#56247)

This PR removes the blocking call to insert ingest documents into a queue in the
coordinator. It replaces it with an offer call which will throw a rejection exception
in the event that the queue is full. This prevents deadlocks of the write threads
when the queue fills to capacity and there are more than one enrich processors
in a pipeline.
@jbaiera jbaiera merged commit 3b73ce3 into elastic:7.x May 27, 2020
@jbaiera jbaiera deleted the backport-7.x-56247 branch May 27, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant