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

health check file: relative path evaluated against CWD (directory were app was started)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 4.0-ALPHA
    • None
    • None
    • Mac

    Description

      The following element gives admin the ability to enable/disable a solr instance without taking it down

        <admin>
          <defaultQuery>solr</defaultQuery>
      
          <!-- configure a healthcheck file for servers behind a loadbalancer
          -->
          <healthcheck type="file">server-enabled</healthcheck>
        </admin>
      

      There is a problem with where the file 'server-enabled' is placed. Currently it appears that file is relative to the place where the server is stared. This causes trouble to deployment since theoretically the server could be started anywhere. My suggestion is to have the file relative to solr home so that it does not dependent on where the server is started.

      Attachments

        1. SOLR-1258.patch
          6 kB
          Chris M. Hostetter
        2. SOLR-1258.patch
          17 kB
          Chris M. Hostetter
        3. SOLR-1258.patch
          27 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            solrjay Jay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5h
                5h
                Remaining:
                Remaining Estimate - 5h
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified