Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[typed-store/graphql] add util to sync all read only tables #14910

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

oxade
Copy link
Contributor

@oxade oxade commented Nov 18, 2023

Description

Expands DBMapUtil macros to allow read replicas to sync all tables at once.
This is useful in transactional test logic (for graphql) which needs to catchup to primary periodically.

Test Plan

Existiing


If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

Copy link

vercel bot commented Nov 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2023 1:16am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2023 1:16am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Nov 18, 2023 1:16am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Nov 18, 2023 1:16am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Nov 18, 2023 1:16am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Nov 18, 2023 1:16am

@oxade oxade changed the title [types-store/graphql] add util to sync all read only tables [typed-store/graphql] add util to sync all read only tables Nov 18, 2023
@oxade oxade merged commit c9c624c into main Nov 20, 2023
33 checks passed
@oxade oxade deleted the typed-store-rocks-catchup-all branch November 20, 2023 16:56
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.

2 participants