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

bin/solr -f should use exec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None

    Description

      When you run bin/solr -f, bash invokes java as a sub-process.
      If you kill -TERM the script, java gets terminated uncleanly.
      The script should invoke java using exec: then, when you send a TERM, it stops ServerConnector and shuts down the core. And you save yourself a process in the process.

      See this patch https://gist.github.com/makuk66/5ba75e8d592bf5428611

      Attachments

        Activity

          People

            thelabdude Timothy Potter
            makuk66 Martijn Koster
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: