Skip to content

Update kv-store readers to read the new schema with fallback#25191

Merged
nickvikeras merged 3 commits intomainfrom
nickv/kv-readers
Feb 3, 2026
Merged

Update kv-store readers to read the new schema with fallback#25191
nickvikeras merged 3 commits intomainfrom
nickv/kv-readers

Conversation

@nickvikeras
Copy link
Copy Markdown
Contributor

@nickvikeras nickvikeras commented Jan 30, 2026

Description

Follow up to #25143 to actually read the new schema. Fallback to the old schema is left in place while we wait for the backfill to complete.

Test plan

I tried running the e2e test with --write-legacy-data false and ensured everything could still be read when only writing the new schema.


Release notes

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC: Read the new BigTable schema and per-pipeline watermarks.
  • JSON-RPC:
  • GraphQL: Read the new BigTable schema and per-pipeline watermarks.
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env January 30, 2026 21:24 — with GitHub Actions Inactive
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Feb 3, 2026 11:15pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Feb 3, 2026 11:15pm
sui-kiosk Ignored Ignored Preview Feb 3, 2026 11:15pm

Request Review

@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env January 30, 2026 21:35 — with GitHub Actions Inactive
@nickvikeras nickvikeras requested a review from bmwill January 30, 2026 21:35
@nickvikeras nickvikeras marked this pull request as ready for review January 30, 2026 21:37
@nickvikeras nickvikeras requested a review from a team as a code owner January 30, 2026 21:37
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env January 30, 2026 21:37 — with GitHub Actions Inactive
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env January 30, 2026 21:38 — with GitHub Actions Inactive
@nickvikeras nickvikeras changed the title Replace get_latest_checkpoint with get_watermark returning Watermark Update kv-store readers to read the new schema with fallback Jan 30, 2026
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env January 30, 2026 21:50 — with GitHub Actions Inactive
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env February 2, 2026 15:49 — with GitHub Actions Inactive
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env February 3, 2026 20:01 — with GitHub Actions Inactive
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env February 3, 2026 20:03 — with GitHub Actions Inactive
@nickvikeras nickvikeras temporarily deployed to sui-typescript-aws-kms-test-env February 3, 2026 23:11 — with GitHub Actions Inactive
@nickvikeras nickvikeras enabled auto-merge (squash) February 3, 2026 23:25
@nickvikeras nickvikeras merged commit f039a21 into main Feb 3, 2026
58 checks passed
@nickvikeras nickvikeras deleted the nickv/kv-readers branch February 3, 2026 23:32
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be a larger change (and not blocking) but it would be good to update GraphQL to fetch specific watermarks based on the pipelines it is actively tracking from BigTable.

That change can wait until after we get rid of raw BigTable support, and are just using gRPC-based access though, and it needs to be coupled with a change to how we calculate the AvailableRange so that we pay attention to retention for KV lookups cc @henryachen, tracking here: https://linear.app/mysten-labs/issue/DVX-1987/per-pipeline-archival-watermarks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants