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

SOLR-17637: Fix LBHttpSolrClient & HttpShardHandler bug #3147

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

HoustonPutman
Copy link
Contributor

@markrmiller
Copy link
Member

Nice catch. Patch looks good.

@dsmiley
Copy link
Contributor

dsmiley commented Jan 30, 2025

Just curious; I suppose this bug might show as an NPE?

@HoustonPutman
Copy link
Contributor Author

Just curious; I suppose this bug might show as an NPE?

It doesnt show at all. The thread thats running the async request fails, and since its not in the catch, it doesnt pass the exception to the completion step. So the thread just goes away without logging anything. Took a while to pin it down because of this.

@gus-asf
Copy link
Contributor

gus-asf commented Jan 30, 2025

Nice catch! thanks!

@HoustonPutman HoustonPutman merged commit db0cbd3 into apache:main Jan 30, 2025
4 checks passed
@HoustonPutman HoustonPutman deleted the lb-http2-bug branch January 30, 2025 19:46
HoustonPutman added a commit that referenced this pull request Jan 30, 2025
This bug causes async requests to be uncompleted in some error scenarios.
The HttpShardHandler can hang indefinitely when this happens.

(cherry picked from commit db0cbd3)
HoustonPutman added a commit that referenced this pull request Jan 30, 2025
This bug causes async requests to be uncompleted in some error scenarios.
The HttpShardHandler can hang indefinitely when this happens.

(cherry picked from commit db0cbd3)
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.

6 participants