Hoss Man created SOLR-13389:
-------------------------------

             Summary: rectify discrepencies in socket (and connect) timeout 
values used throughout the code and tests - probably helping to reduce 
TimeoutExceptions in tests
                 Key: SOLR-13389
                 URL: https://issues.apache.org/jira/browse/SOLR-13389
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Hoss Man
            Assignee: Hoss Man



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)




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to