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:

  • EZI-2b DynamoDB and celld providers on Axum meet the record contract (new in this plan)
  • EZI-2c Cloudflare record store: portable providers and Workers KV pass the record contract (new in this plan)
  • EZI-2s Spin record store: portable providers and Spin KV pass the record contract (new in this plan)
  • R1b Integration-branch tag with the record contract: EZI-2a and EZI-2b (new in this plan)

Related

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions