[ 
https://issues.apache.org/jira/browse/SOLR-15832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhishek Umarjikar updated SOLR-15832:
--------------------------------------
    Attachment: Screenshot 2026-03-02 at 2.59.56 PM.png
                Screenshot 2026-03-02 at 2.59.41 PM.png

> Schema Designer publish shouldn't fail if .system collection doesn't exist
> --------------------------------------------------------------------------
>
>                 Key: SOLR-15832
>                 URL: https://issues.apache.org/jira/browse/SOLR-15832
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema Designer
>    Affects Versions: 8.10, 8.11, 8.10.1
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>            Priority: Major
>             Fix For: 9.0, 8.11.1
>
>         Attachments: Screenshot 2026-03-02 at 2.59.41 PM.png, Screenshot 
> 2026-03-02 at 2.59.56 PM.png
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> While testing Schema Designer against the cloud example, I encountered this 
> error while re-publishing the gettingstarted configset (without indexing any 
> sample docs):
> {code}
> 2021-12-03 17:20:13.663 ERROR (qtp29183965-99) [   ] o.a.s.a.AnnotatedApi 
> Error executing command   => org.apache.solr.common.SolrException: Collection 
> not found: .system
>       at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:901)
> org.apache.solr.common.SolrException: Collection not found: .system
>       at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:901)
>  ~[?:?]
>       at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:866)
>  ~[?:?]
>       at 
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214) ~[?:?]
>       at 
> org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:940) 
> ~[?:?]
>       at 
> org.apache.solr.handler.designer.SchemaDesignerConfigSetHelper.deleteStoredSampleDocs(SchemaDesignerConfigSetHelper.java:466)
>  ~[?:?]
>       at 
> org.apache.solr.handler.designer.SchemaDesignerAPI.cleanupTemp(SchemaDesignerAPI.java:1171)
>  ~[?:?]
>       at 
> org.apache.solr.handler.designer.SchemaDesignerAPI.publish(SchemaDesignerAPI.java:517)
>  ~[?:?]
>       at org.apache.solr.api.AnnotatedApi$Cmd.invoke(AnnotatedApi.java:299) 
> ~[?:?]
>       at org.apache.solr.api.AnnotatedApi.call(AnnotatedApi.java:175) ~[?:?]
>       at org.apache.solr.api.V2HttpCall.handleAdmin(V2HttpCall.java:340) 
> ~[?:?]
>       at 
> org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:800)
>  ~[?:?]
>       at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:545) 
> ~[?:?]
>       at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
>  ~[?:?]
>       at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:357)
>  ~[?:?]
> {code}
> The publish operation should not fail due to problems cleaning up ...



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to