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

Solr script always sets zkClientTimeout to 15000 if ZK_CLIENT_TIMEOUT unset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.2.1, 7.0
    • 8.7
    • None
    • None

    Description

      Per SOLR-5565, ZooKeeper session timeout should have been raised to 30s. This was changed in the solr.xml example but it was not changed in the solr script, which has this:

      if [ -z "$ZK_CLIENT_TIMEOUT" ]; then
          ZK_CLIENT_TIMEOUT="15000"
        fi
      

      And for solr.cmd:

       IF "%ZK_CLIENT_TIMEOUT%"=="" set "ZK_CLIENT_TIMEOUT=15000"
      

      So regardless of what is in solr.xml, if ZK_CLIENT_TIMEOUT is not set, it will be overridden to 15,000. I'd think this should be raised to 30,000 or removed entirely to fall back on the solr.xml's behavior. markrmiller@gmail.com is this correct?

      Attachments

        1. SOLR-10471.patch
          3 kB
          Markus Jelsma
        2. SOLR-10471.patch
          2 kB
          Munendra S N

        Issue Links

          Activity

            People

              munendrasn Munendra S N
              mbraun688 Michael Braun
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: