Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
While looking into some jenkins test failures caused by distributed requests that timeout, i realized that the "socket timeout" aka "idle timeout" aka "SO_TIMEOUT" values used in various places in the code & sample configs can vary significantly, and in the case of test configs/code can differ from the default / production configs by an order of magnitude.
I think we should consider rectifying some of the various places/ways that different values are sprinkled through out the code to reduce the number of (different) places we have magic constants. I believe a large number of jenkins test failures we currently see due to timeout exceptions are simply because tests (or test configs) override sensible defaults w/values that are too low to be useful.
(NOTE: all of these problems / discrepancies also apply to "connect timeout" which should probably be addressed at the same time, but for now i'm focusing on the "socket timeout" since it seems to be the bigger problem in jenkins failures – if we reach consensus on standardizing some values across the board the same approach can be made to connect timeouts at the same time)
Attachments
Issue Links
- is related to
-
SOLR-13457 Managing Timeout values in Solr
- Open