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

Fix resuming the transform process. #348

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Fix resuming the transform process. #348

merged 1 commit into from
Jun 27, 2023

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Jun 27, 2023

When the streaming is interrupted in the middle of a JSON/SQL file and then resumes in replay mode, the transform process needs to read and parse the latest JSON/SQL file in case it's being restarted in the middle of a transaction.

The transform process rewrites the SQL file even when it was done previously, as a way of implementing "cache invalidation" where the source of truth is the JSON file. This PR implements the same approach to the replay mode start-up sequence.

Should fix #331.

When the streaming is interrupted in the middle of a JSON/SQL file and then
resumes in replay mode, the transform process needs to read and parse the
latest JSON/SQL file in case it's being restarted in the middle of a
transaction.

The transform process rewrites the SQL file even when it was done
previously, as a way of implementing "cache invalidation" where the source
of truth is the JSON file. This PR implements the same approach to the
replay mode start-up sequence.
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.

CDC misses some actions after switching to streaming mode
1 participant