[ https://issues.apache.org/jira/browse/SOLR-16666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gerlowski updated SOLR-16666: ----------------------------------- Attachment: SOLR-16666-repro.sh Status: Open (was: Open) Attaching a script that shows how to reproduce the issue on a source checkout from the 'main' branch. (Runners should change the 'GIT_CHECKOUT_HOME' constant at the top of this script to point to their checkout.) > /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 > Priority: Major > Attachments: SOLR-16666-repro.sh > > > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org