Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13570

Unable to control timeout for requests from Overseer to other nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      All Overseer requests uses UpdateShardHandler.httpClient, so in theory we should be able to control timeout by setting distribUpdateConnTimeout in solr.xml. Since HttpClient was configured with timeout from distribUpdateConnTimeout

      It used to work but since SOLR-11004, we hardcoded the timeout in SolrClientBuilder.socketTimeoutMillis = 120000, therefore any HttpSolrClient without specify withSocketTimeout() will have timeout = 120000. We basically ignore the timeout set to HttpClient.

      For long async tasks like BACKUP/RESTORE, 2 minutes is not enough and users will frequently encountering timeout on these calls.

      Attachments

        1. SOLR-13570.patch
          12 kB
          Cao Manh Dat

        Issue Links

          Activity

            People

              caomanhdat Cao Manh Dat
              caomanhdat Cao Manh Dat
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: