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

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

Commit a79a44f28daa10b38d0004fd86b16d3b43276477 in lucene-solr's branch 
refs/heads/branch_8_11 from Timothy Potter
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a79a44f ]

SOLR-15832: Clean-up after publish action in Schema Designer shouldn't fail if 
.system collection doesn't exist (#451) (#2626)



> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema Designer
>    Affects Versions: 8.10, 8.11, 8.10.1
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>            Priority: Major
>          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.1#820001)

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

Reply via email to