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

refactor: Send source state and op id to sink #2354

Merged
merged 1 commit into from Feb 1, 2024

Conversation

chubei
Copy link
Collaborator

@chubei chubei commented Jan 30, 2024

There are two changes in this PR:

  • Change ExecutorOperation::Op's type from Operation to OperationWithId, thus making the sink aware of the id that may be associated with an operation.
  • In dozer-core/src/builder_dag.rs, the sinks are built first and the sources' connection level state and op level state are read from the sink, instead of from the checkpoint. After building the source with the connection level state, the state is read from the source again and written to sink.

Based on this PR, if a sink implements the writes and reads properly, it's said to be supporting resuming.

Part of #2342

@Jesse-Bakker Jesse-Bakker added this pull request to the merge queue Feb 1, 2024
Merged via the queue into getdozer:main with commit 9a931b2 Feb 1, 2024
6 checks passed
@chubei chubei deleted the refactor/id branch February 2, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants