You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2022/06/02 14:09:00 UTC

[jira] [Resolved] (SOLR-16208) Unable to delete async task ID

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

Jason Gerlowski resolved SOLR-16208.
------------------------------------
    Resolution: Invalid

Hi [~ssunka]

We try to reserve JIRA for confirmed bugs or improvements, and not as a support portal. Questions about running Solr or other requests for help should go to the users@solr.apache.org mailing list (which hits a much wider audience anyways).

In your particular case, the DELETESTATUS API can only be used to clear the status of completed tasks. See the docs [here|https://solr.apache.org/guide/7_0/collections-api.html#asynchronous-calls]:

bq. As of now, REQUESTSTATUS does not automatically clean up the tracking data structures, meaning the status of completed or failed tasks stays stored in ZooKeeper unless cleared manually. DELETESTATUS can be used to clear the stored statuses.

> Unable to delete async task ID
> ------------------------------
>
>                 Key: SOLR-16208
>                 URL: https://issues.apache.org/jira/browse/SOLR-16208
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Backup/Restore
>    Affects Versions: 8.11.1
>         Environment: prod
>            Reporter: Srinivas Sunka
>            Priority: Major
>              Labels: async-client
>
> Hi Team,
> I would like to delete one of the async task status.
> Request
> {code:java}
> curl 'http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=sample_1651035600'{code}
> Response
> {code:java}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":3},
>   "status":{
>     "state":"running",
>     "msg":"found [sample_1651035600] in running tasks"}}{code}
>  
> When I tried deleting the same task status
> {code:java}
> curl 'http://localhost:8983/solr/admin/collections?action=DELETESTATUS&requestid=sample_1651035600'{code}
>  
> {code:java}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":6},
>   "status":"[sample_1651035600] not found in stored responses"}{code}
>  
> Above task is been struck since few days because of an internal PVC issue. I would like to force delete it so the other submitted tasks can continue.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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