Skip to content

fix SolrStream long-running timeouts#4622

Closed
iprithv wants to merge 1 commit into
apache:mainfrom
iprithv:stream-client-timeout-fix
Closed

fix SolrStream long-running timeouts#4622
iprithv wants to merge 1 commit into
apache:mainfrom
iprithv:stream-client-timeout-fix

Conversation

@iprithv

@iprithv iprithv commented Jul 7, 2026

Copy link
Copy Markdown

after the switch to SolrClientCache (around 9.4), SolrStream (and other TupleStreams) started using clients with a hard 60-second floor for timeouts. This caused TimeoutException: Total timeout 60000 ms elapsed on long-running streaming responses (/export, slow analytic streams, etc.).

The header-wait path (listener.get(idleTimeoutMillis, ...)) and per-chunk idle also used the low timeout, so even slow-starting or slowly emitting streams would fail.

SOLR-17433

@dsmiley

dsmiley commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The JIRA issue showed someone else was picking this up; see #4626 . I like that solution better as I don't think there should be a general request timeout. There wasn't one in the past (for Apache HttpClient based SolrClient).

@iprithv

iprithv commented Jul 9, 2026

Copy link
Copy Markdown
Author

Thanks @dsmiley. I targeted change to a narrower attempt scoped to SolrClientCache, but agree the global default fix is the right direction (and matches the pre-Http2 behavior). I'll close this PR.

@iprithv iprithv closed this Jul 9, 2026
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.

2 participants