Jason Gerlowski created SOLR-16666:
--------------------------------------
Summary: /admin/cores?action=REQUESTSTATUS doesn't show response
of completed tasks
Key: SOLR-16666
URL: https://issues.apache.org/jira/browse/SOLR-16666
Project: Solr
Issue Type: Task
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: main (10.0)
Reporter: Jason Gerlowski
Our core-admin APIs allow users to run tasks asynchronously and check on the
task later using the {{/admin/cores?action=REQUESTSTATUS}} API. For tasks that
are still running, REQUESTSTATUS mostly just indicates this in a 'STATUS'
field. For tasks that have completed (either successfully or unsuccessfully),
the REQUESTSTATUS endpoint is also supposed to show the task's "response" (i.e.
the response it would have returned had it been run as a synchronously).
However, REQUESTSTATUS calls on main seem to be missing this "response"
information.
{code}
curl -ilk -X POST
'http://localhost:8983/solr/admin/cores?action=REQUESTSTATUS&requestid=somerequestid'
HTTP/1.1 200 OK
...
{
"responseHeader":{
"status":0,
"QTime":0},
"STATUS":"completed",
"msg":"TaskId: somerequestid webapp=null path=/admin/cores
params={core=techproducts&async=somerequestid&action=CREATESNAPSHOT&commitName=myCommitName}
status=0 QTime=0",
"response":null}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]