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

Update Cassandra to write history tasks to new columns #6685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shaddoll
Copy link
Member

@Shaddoll Shaddoll commented Feb 24, 2025

What changed?

Why?
This is a followup change of #6671. We want to migrate Cassandra's transfer, timer, replication task data from typed columns to encoded blob columns introduced in that PR. After this change Cassandra will be in "dual write" mode.
Another followup PR will be created to allow specifying which column we read data from. Currently, we still read history tasks from the original columns as before.
No backfill is required for transfer tasks and replication tasks because old data not inserted with "dual write" mode will be gone soon after the deployment of this PR. A backfill process is required for timer tasks.

How did you test it?
Unit test, manual tests in dev2 environment, persistence test will be created in the followup PR that enables migration on reading tasks

Potential risks
tasks not encoded correctly (no impact production until we enable migration on reading tasks), history task processing might be broken

Release notes

Documentation Changes

@Shaddoll Shaddoll changed the title wip: Update Cassandra to write history tasks to new columns Update Cassandra to write history tasks to new columns Feb 24, 2025
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.

1 participant