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

Sanity-check persistent resolved timestamp #57

Closed
bobvawter opened this issue Oct 6, 2021 · 1 comment
Closed

Sanity-check persistent resolved timestamp #57

bobvawter opened this issue Oct 6, 2021 · 1 comment

Comments

@bobvawter
Copy link
Member

Consider adding a sanity-check which ensures that any data being written into the staging table is not stale with respect to any previously-received and -flushed resolved timestamp. This would indicate a possible desynchronization of the changefeed and should result in a permanent failure condition.

@bobvawter
Copy link
Member Author

Work in #73 adds a check to ensure that a resolved timestamp doesn't go backwards when it's persisted. Might be worth it to hold the previous resolved timestamp in memory to detect re-delivery of stale messages if we add additional transport mechanisms.

@bobvawter bobvawter linked a pull request Dec 15, 2021 that will close this issue
@bobvawter bobvawter removed a link to a pull request Dec 15, 2021
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

No branches or pull requests

1 participant