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

Hang when modifying the cluster state and an uncaught exception is thrown #3364

Closed
javanna opened this issue Jul 22, 2013 · 1 comment
Closed

Comments

@javanna
Copy link
Member

javanna commented Jul 22, 2013

As mentioned in #3363 we don't decrement the CountDownLatch and never return a response if there's an uncaught exception in some of the TransportMasterNodeOperationActions that modify the cluster state. Some actions do catch Throwable and don't suffer from this issue, while some others don't.

We need to go over those and fix this issue so that we always decrement the CountDownLatch and give back the error that was thrown instead of hanging waiting for the thread to finish its execution.

@ghost ghost assigned javanna Jul 22, 2013
@javanna
Copy link
Member Author

javanna commented Jul 23, 2013

Solved with 4930b93 .

Removed CountDownLatch in all the master operations and introduced a global Listener that is always notified when something goes wrong.

@javanna javanna closed this as completed Jul 23, 2013
javanna pushed a commit to javanna/elasticsearch that referenced this issue Dec 27, 2013
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant