Michael Gibney created SOLR-16962:
-------------------------------------

             Summary: updateLog tlog dir location config is silently ignored 
                 Key: SOLR-16962
                 URL: https://issues.apache.org/jira/browse/SOLR-16962
             Project: Solr
          Issue Type: Bug
    Affects Versions: 9.2.1, main (10.0)
            Reporter: Michael Gibney


If you follow the 
[instructions|https://solr.apache.org/guide/solr/latest/configuration-guide/commits-transaction-logs.html#transaction-log]
 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to