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

Fix BulkProcessor hangs for threads deadlocked (#44556) #44559

Closed
wants to merge 0 commits into from

Conversation

suxinglee
Copy link

In #44556 bulk processor threads gets deadlocked, and Java application using BulkProcessing hangs without any data flush. This problem have been discussed in two issues. One way to solve this deadlock is add a single ScheduledThreadPoolExecutor instance for FlushTask.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@jakelandis jakelandis self-requested a review July 18, 2019 15:00
@javanna
Copy link
Member

javanna commented Aug 6, 2019

hi @suxinglee thanks for opening this PR! Would it be possible to add a test that recreates the scenario of the issue you have encountered, which fails without your fix and succeeds once you made your changes?

@jakelandis
Copy link
Contributor

@suxinglee - could you please review the latest comment ?

@codersky
Copy link

codersky commented Sep 9, 2019

do we have any updates on this issue and what's the case this issue reproduced? thanks

@suxinglee
Copy link
Author

@jakelandis due to the modified of base branch, I close the current PR and open another PR #46790
can you review this for me sometime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants