Skip to content

[Snapshots] PK snapshot: Persisted-cursor storage-shape decision #940

Description

@kvch

STILL NEEDS DECISION IF WE NEED IT OR NOT

What to build

Decide, in this issue, how the per-(table, sub-range) cursor is persisted. Options:

  • an errors-sibling JSONB cursor column on pgstream.snapshot_requests
  • a dedicated companion table keyed by (schema, table, sub-range).

Also decide the migration approach (the project's go-bindata migrations) and how cursors reconcile when the split count differs between runs.

Requirements

  • Storage shape (column vs companion table) approved in this issue
  • Migration approach agreed
  • Split-count-change reconciliation approach noted

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsnapshotSnapshot related work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions