Skip to content

Define cross-store ordering semantics for TierStore listings #1039

Description

@enigbe

Noting here that #692's TierStore::list and TierStore::list_paginated currently return only keys from the primary store. This is intentional until listings from the primary and ephemeral stores can be merged correctly. Merging is currently not possible because PaginatedKVStore tokens are opaque and store-specific.

Although individual stores may order entries by creation time, TierStore cannot:

  • Compare the creation order of entries across stores.
  • Interleave entries in the expected newest-first order.
  • Construct a portable continuation token representing progress in both stores.

What is needed is a way to define ordering and pagination semantics for a combined listing before exposing keys from both stores.

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