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

bin/solr start script should not enable autoSoftCommit by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10.2
    • 4.10.3, 5.0, 6.0
    • scripts and tools
    • None

    Description

      Starting Solr with bin/solr start script automatically sets this param -Dsolr.autoSoftCommit.maxTime=3000 without this being documented in help.

      It is really confusing, because when looking at solrconfig.xml, you expect the default to be disabled (-1).

      I think most of the JAVA OPTIONs being set in the script are sane, but I disagree with this one. The defaults for this script should be same as the defaults in the config. The user can always specify this as -a "-Dsolr.autoSoftCommit.maxTime=NN".

      Attachments

        1. SOLR-6696.patch
          0.5 kB
          Jan Høydahl
        2. SOLR-6696.patch
          2 kB
          Jan Høydahl

        Activity

          People

            janhoy Jan Høydahl
            janhoy Jan Høydahl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: