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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Environment:

      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
          27 kB
          Hoss Man
        2. SOLR-1258.patch
          17 kB
          Hoss Man
        3. SOLR-1258.patch
          6 kB
          Hoss Man

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              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