Skip to content

Delete from L1 on writes when in an unknown state #102

Description

@ScottMansfield

This issue is directed at maintaining consistency between the L1 and L2 caches behind Rend.

There are some cases in the request orchestration (orca package) where a write has successfully been made to the L2 cache but L1 returns an error and is thus in an unknown state. In order to preserve consistency between the two levels, a delete should be sent to L1 when it's state is unknown.

In the case of an IO error, it is assumed that the memcached process has been killed or is otherwise in a bad state, so those errors will not be captured by this logic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions