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

updateLog tlog dir location config is silently ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • main (10.0), 9.2.1
    • 9.7
    • None
    • None

    Description

      If you follow the instructions on configuring a non-default tlog location, solr currently silently ignores explicit configuration and uses the default location [instanceDir]/data/tlog/.

      Afaict this has been the case for some time, with several layers of faithful refactorings now somewhat obscuring the initial intent.

      This issue proposes to restore the initial intent, and also shore up some of the nuances of handling this (now that the config actually has an effect):

      1. resolve relative "dir" spec relative to core instanceDir
      2. disallow relative "dir" spec that escapes core instanceDir (e.g., dir=../../some_path)
      3. for absolute "dir" spec outside of the core instanceDir, scope the tlog dir by core name

      Attachments

        Activity

          People

            magibney Michael Gibney
            magibney Michael Gibney
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m