[ 
https://issues.apache.org/jira/browse/SOLR-16962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854796#comment-17854796
 ] 

ASF subversion and git services commented on SOLR-16962:
--------------------------------------------------------

Commit 6e0e6a571e13c7e6725c60a33869ccc4819a672c in solr's branch 
refs/heads/main from Michael Gibney
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=6e0e6a571e1 ]

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

> 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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to