The x-amz-delete-marker and x-amz-version-id headers are missing from responses to DeleteObject requests that are made against buckets with versioning suspended.
Reproduction steps
Create a bucket.
Enable bucket versioning.
Suspend bucket versioning.
Upload an object.
Delete the object, specifying only its name and not its version so that a delete marker will be created.
MinIO doesn't set these headers if a version ID isn't provided in the info returned from the gateway. [link]
Uplink refuses to return the version IDs of objects that aren't either 1) committed and versioned, or 2) a versioned delete marker. [link] This, in turn, prevents the gateway from returning them.
This means that unversioned delete markers (delete markers made in versioning-suspended buckets) will never have their version IDs passed to MinIO in this situation.
Description
The
x-amz-delete-marker
andx-amz-version-id
headers are missing from responses to DeleteObject requests that are made against buckets with versioning suspended.Reproduction steps
Using AWS CLI
Expected behavior
I expected to receive a response containing the missing headers. In AWS CLI, the output should resemble this:
Actual behavior
The response does not contain the header, and the AWS CLI output is empty.
Environment
Links