Skip to content

Add store optimisation for fast has #1999

@chrisstaite-menlo

Description

@chrisstaite-menlo

Currently the fast-slow store calls has and then calls get. On an S3 or GCS store that's really inefficient as calling has is pretty much the same expense as calling get and having a 404 returned.

Add a store optimisation flag to avoid this and if it's set then don't call has in the fast-store population path. Simply handle the Code::NotFound response correctly.

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