Skip to content

Request hangs when asking for the job result of a document's HEAD request #15639

@Darkheir

Description

@Darkheir

My Environment

  • ArangoDB Version: 3.8.5
  • Deployment Mode: Single Server
  • Deployment Strategy: Docker official image

Component, Query & Data

Affected feature: HTTP Job requests

When creating a job for a HEAD requests to read the headers of a document it is impossible to get the results of the job

Steps to reproduce

  1. Send an async request to get the HEAD of an existing document:
    • curl --header "x-arango-async: store" -I http://127.0.0.1:8529/_db/test/_api/document/test/foo
  2. The job appears as done
    • curl http://127.0.0.1:8529/_db/test/_api/job/{job_id} => 200
  3. When retrieving the result the query never returns
    • curl -X PUT http://127.0.0.1:8529/_db/test/_api/job/{job_id} => Runs indefinitely

Problem:
The query hangs forever.

Expected result:

The query should return with the appropriate headers, no body is expected

Additional information:

There is no issue when the document is not found

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions