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

Improve the start/stop script shutdown logic to avoid forcefully killing Solr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 5.3
    • None
    • scripts and tools
    • Unix/Linux

    Description

      Currently the start/stop script only waits 5 seconds before forcefully killing the Solr process. In our experience this is not enough for graceful shutdown on an active SolrCloud node. I propose making the shutdown wait for up to 30 seconds and check the process status every second to avoid unnecessary delay.

      I will attach a patch to accomplish this.

      Attachments

        1. solr_stop_patch.diff
          1 kB
          Ere Maijala

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emaijala Ere Maijala
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: