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

Aerospike sink: Add transactionally consistent denormalization #2437

Merged
merged 8 commits into from
Mar 7, 2024
Merged

Aerospike sink: Add transactionally consistent denormalization #2437

merged 8 commits into from
Mar 7, 2024

Conversation

Jesse-Bakker
Copy link
Contributor

@Jesse-Bakker Jesse-Bakker commented Mar 1, 2024

This is based on the aerospike resumability branch.

I added a configuration to the aerospike sink table config, which specifies
where to write the denormalized version of that table to, called write_denormalized_to.
All tables will also be written in their raw form.

Resumability is implemented using a two-phase approach:
First, write the denormalized tables, then write a txid for the denorm tables
Second, write the lookup tables, then write a txid for the lookup tables

If we go down between writing the denorm txid and the lookup txid, we skip denorm until we reach the lookup txid.

@Jesse-Bakker Jesse-Bakker merged commit 4fcb982 into getdozer:main Mar 7, 2024
3 checks passed
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.

2 participants