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

[Issue 4756] Add timeout to search for web service URLs to avoid web threads getting stuck #6124

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

massakam
Copy link
Contributor

Fixes #4756

I modified NamespaceService#getWebServiceUrl() so that the blocking call times out after a certain amount of time in order to avoid the problem that broker's pulsar-web threads are blocked forever when calling that method.
#4756 (comment)

@massakam massakam self-assigned this Jan 22, 2020
@massakam
Copy link
Contributor Author

rerun java8 tests

@jiazhai
Copy link
Member

jiazhai commented Jan 23, 2020

run java8 tests

@sijie sijie added this to the 2.6.0 milestone Jan 23, 2020
@nkurihar
Copy link
Contributor

rerun java8 tests

@massakam
Copy link
Contributor Author

rerun java8 tests

2 similar comments
@massakam
Copy link
Contributor Author

rerun java8 tests

@massakam
Copy link
Contributor Author

rerun java8 tests

@jiazhai
Copy link
Member

jiazhai commented Jan 25, 2020

run java8 tests

2 similar comments
@massakam
Copy link
Contributor Author

run java8 tests

@massakam
Copy link
Contributor Author

run java8 tests

@nkurihar nkurihar merged commit d42cfa1 into apache:master Jan 28, 2020
@massakam massakam deleted the issue-4756 branch January 28, 2020 09:37
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Feb 23, 2020
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Mar 21, 2020
tuteng pushed a commit that referenced this pull request Apr 13, 2020
jiazhai pushed a commit to jiazhai/pulsar that referenced this pull request May 18, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
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.

Broker's web threads get stuck
5 participants