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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.10.2, 5.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            thelabdude Timothy Potter
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment