lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Commented] (SOLR-6324) Set finite default timeouts for select and update
Date Fri, 28 Nov 2014 00:42:13 GMT


Shalin Shekhar Mangar commented on SOLR-6324:

This patch doesn't set any timeouts for updates? I've found that many people don't know about
the update shard handler timeouts because it's not mentioned in the example solr.xml by default
in contrast to the search timeouts. 

Large timeouts are equally useless as no timeouts for heavy users but at least by having both
update/search timeouts in solr.xml, people might pay more attention and actually set some
sane values.

+1 to the change. I swear I had opened an issue for the same thing a month back but I can't
find it now.

> Set finite default timeouts for select and update
> -------------------------------------------------
>                 Key: SOLR-6324
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search, update
>            Reporter: Ramkumar Aiyengar
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 5.0, Trunk
> Currently {{HttpShardHandlerFactory}} and {{UpdateShardHandler}} default to infinite
timeouts for socket connection and read. This can lead to undesirable behaviour, for example,
if a machine crashes, then searches in progress will wait forever for a result to come back
and end up using threads which will only get terminated at shutdown.
> We should have some finite default, however conservative it might be. These parameters
are already configurable, so for expert uses, they can be increased if necessary anyway.
> Will attach a patch to set connection timeout to 60s and read timeout to 600s, but I
am not too concerned about the actual value as long as there is one.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message