You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/06/01 17:51:00 UTC
[jira] [Commented] (SOLR-15421) ConfigSetService.checkConfigExists
accepts empty configs
[ https://issues.apache.org/jira/browse/SOLR-15421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355266#comment-17355266 ]
ASF subversion and git services commented on SOLR-15421:
--------------------------------------------------------
Commit f3b4693081ed2bd7194526e902b80278aec92edc in solr's branch refs/heads/main from András Salamon
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f3b4693 ]
SOLR-15421: ConfigSet existence now checks for solrconfig.xml (#135)
ConfigSet API now checks for solrconfig.xml when checking for the existence of a configset
> ConfigSetService.checkConfigExists accepts empty configs
> --------------------------------------------------------
>
> Key: SOLR-15421
> URL: https://issues.apache.org/jira/browse/SOLR-15421
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andras Salamon
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Both {{FileSystemConfigSetService}} and {{ZkConfigSetService}} only checks the existence of the directory only, if we accidentally create an empty config directory this method returns true, but when we try to use the configs to create a collection we got an error message like this:
> {noformat}
> Can't find resource 'solrconfig.xml' in classpath or '/configs/config_name', cwd=/path/to/lib/solr/server {noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org