Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
main (10.0), 9.2.1
-
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):
- resolve relative "dir" spec relative to core instanceDir
- disallow relative "dir" spec that escapes core instanceDir (e.g., dir=../../some_path)
- for absolute "dir" spec outside of the core instanceDir, scope the tlog dir by core name