Skip to content

Clarify manifest deletion as sync or async #570

@jcarter3

Description

@jcarter3

In the section around deleting manifests, the following statements are made:

Upon success, the registry MUST respond with a 202 Accepted code.

Once deleted, a GET to /v2/<name>/manifests/<digest> and any tag pointing to that digest will return a 404.

A 202 Accepted is defined as:

request has been accepted for processing, but processing has not been completed or may not have started

Additionally, in the conformance tests, after performing a delete call, it is valid to receive back a 404 OR a 200 when immediately trying to GET that same manifest.

By this, it seems that it is perfectly fine for a registry implementation to delete manifests via an "eventually consistent" process, though it would be reasonable to expect this to happen quickly. Is this a proper interpretation?

Metadata

Metadata

Assignees

No one assigned

    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