Skip to content

Reject file-storage TTLs that cannot produce a finite expiration #656

Description

@zackbart

Nonfinite TTL values and overflowing expiration arithmetic serialize as null in JSON snapshots, corrupting state written by the adapter itself.

Required behavior and acceptance criteria:

  • Set and compare-and-swap reject invalid expiration values before changing memory or disk. Previous data remains readable after reopening. Existing zero and finite TTL behavior stays consistent.
  • Add a regression reproducing the failure and verify the applicable Node and Workers suites.

Found during the post-merge reliability sweep following #643.

Activity

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