Mirror writes to database: Tags DELETE Handler
Context
This issue is meant to investigate steps which are required to mirror metadata writes generated from calls the Tags DELETE Handler.
Affected Route(s)
DELETE /v2/<name>/tags/reference/<reference>
Detailed Handler Operations
- If
tagHandler.App.isCache
appenderrcode.ErrorCodeUnsupported
totagHandler.Errors
and return - Instantiate a
distribution.TagService
, the concrete type is astorage.tagStore
- call
distribution.TagService.Untag(ctx, tag)
- get the
manifestTagPathSpec
for the tag (<root>/v2/repositories/<name>/_manifests/tags/<tag>/
) - call
driver.StorageDriver.Delete(ctx, manifestTagPathSpec)
- get the
Edited by Hayley Swimelar