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

Stop command in the start scripts should only stop the instance that it had started

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.2, 5.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the stop command looks for all running Solr instances and stops those. I feel this is a bit dangerous.

      When starting a process with the start command we could write out a pid file of the solr process that it started. Then the stop script should stop that process.

      It could error out if the pid file is not present.

      We could still keep the feature of stopping all solr nodes by passing passing -all ?

        Attachments

          Activity

            People

            • Assignee:
              thelabdude Timothy Potter
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: