[
https://issues.apache.org/jira/browse/SOLR-16962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854811#comment-17854811
]
ASF subversion and git services commented on SOLR-16962:
--------------------------------------------------------
Commit f0be4fa2671fcdb3d3922dd70597cb88caa4e149 in solr's branch
refs/heads/branch_9x from Michael Gibney
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f0be4fa2671 ]
SOLR-16962: Restore ability to configure tlog directory (#1895)
Includes substantial refactoring and clarification of logic and definitions
around `ulog` and `tlog`. Refactoring largely focuses on UpdateLog and
HdfsUpdateLog. There is no anticipated change in existing behavior, other than
that the `dir` parameter to the `<updateLog>` element in `solrconfig.xml`,
which has long been silently ignored, will now be respected
(cherry picked from commit 6e0e6a571e13c7e6725c60a33869ccc4819a672c)
> 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: main (10.0), 9.2.1
> Reporter: Michael Gibney
> Priority: Minor
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]