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/03 20:52:00 UTC

[jira] [Commented] (SOLR-15311) MODIFYCOLLECTION configName with async fails

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

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

Commit 387527a4747fbe11c67ff2c0480ce183fb18d13e in solr's branch refs/heads/main from Nazerke Seidan
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=387527a ]

SOLR-15311: MODIFYCOLLECTION now supports async (#152)

Co-authored-by: Nazerke Seidan <ns...@salesforce.com>
Co-authored-by: David Smiley <ds...@apache.org>

> MODIFYCOLLECTION configName with async fails
> --------------------------------------------
>
>                 Key: SOLR-15311
>                 URL: https://issues.apache.org/jira/browse/SOLR-15311
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 8.8, 8.8.1
>            Reporter: Karl Stoney
>            Priority: Minor
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Hi, 
> If you perform a `MODIFYCOLLECTION` with an `async` number, it will fail after about 30 seconds.  However the exact same request without async works just fine and returns successfully instantly.
> {{
> 11:34:01.057 [OverseerThreadFactory-20-thread-5-processing-n:solr-0.search-solr.svc.cluster.local:80_solr] ERROR org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler - Collection: at-uk-004 operation: modifycollection failed:org.apache.solr.common.SolrException: Could not modify collection {
>   "collection":"at-uk-004",
>   "async":"1617449610",
>   "operation":"modifycollection"}
>         at org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler.modifyCollection(OverseerCollectionMessageHandler.java:669)
>         at org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:266)
>         at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:524)
>         at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:218)
>         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:834)
> }}
> The request i'm sending (POST):
> {{
>     const url = `${this.host}/solr/admin/collections`
>     const searchParams = {
>       action: 'MODIFYCOLLECTION',
>       collection: collectionName,
>       'collection.configName': newConfigName
>     }
> }}



--
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