Skip to content

KvStore record contract with listing strong within a partition #472

Description

@aram356

Summary

KvStore record contract with listing strong within a partition, the Fastly provider and the local persistent store (PersistentKvStore).

Behavior

KvStore gains a read that returns a generation marker, writes in Add, Overwrite and IfGenerationMatch modes with a precondition-failed outcome, strongly consistent existence, and prefix listing that is strongly consistent within a partition: the caller declares how a key maps to its partition, and a listing whose prefix is a whole partition reads strongly. A store that cannot meet this reports KvError::Unsupported.

Acceptance criteria

  • An EdgeZero contract suite passes against the Fastly provider under Viceroy and against EdgeZero's local persistent store (PersistentKvStore), which the Axum development server uses

Dependencies

Blocked by:

Blocks:

Related

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions