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

Verify that the watch API emits one event per atomic transaction at the datastore layer, and then document that behavior in the API #1790

Open
jakedt opened this issue Mar 12, 2024 · 0 comments
Labels
kind/feature request Something is missing

Comments

@jakedt
Copy link
Member

jakedt commented Mar 12, 2024

Problem Statement

Right now, it's ambiguous how many events might get batched up in a single WatchResponse message, due to the naming of the resume zedtoken of changes_through.

Solution Brainstorm

In actuality, what should happen, and be enforced across all datastores, is that a single WatchResponse message contains mutations from only a single atomic datastore transaction, and our API docs should be updated to guarantee that.

@jakedt jakedt added the kind/feature request Something is missing label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature request Something is missing
Projects
None yet
Development

No branches or pull requests

1 participant