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

Avoid double loading in Cassandra side of journal #159

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

ifesdjeen
Copy link
Contributor

No description provided.

@ifesdjeen ifesdjeen marked this pull request as ready for review January 22, 2025 20:20
@@ -414,6 +415,8 @@ private static Command.Truncated truncated(TxnId txnId, SaveStatus status, Statu
case TruncatedApplyWithOutcome:
case TruncatedApplyWithDeps:
case TruncatedApply:
if (status != TruncatedApplyWithOutcome)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a TODO to tidy this up when we have a better solution?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to mention the reason this arises. Unfortunately I've forgotten since we spoke, I think it may be because of compaction? Because if we write out a truncate record to the log it should null out this field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted for now; I'm sure it'll show up in burn test. When it does, we will document and/or fix it, wdyt?

@ifesdjeen ifesdjeen force-pushed the CASSANDRA-20244 branch 4 times, most recently from de13f4a to 6a52dbb Compare January 29, 2025 13:44
@ifesdjeen ifesdjeen force-pushed the CASSANDRA-20244 branch 3 times, most recently from f6ac18b to 707b37c Compare February 1, 2025 23:27
@belliottsmith belliottsmith force-pushed the trunk branch 2 times, most recently from 183d5d0 to cd7f495 Compare February 3, 2025 16:31
@ifesdjeen ifesdjeen force-pushed the CASSANDRA-20244 branch 5 times, most recently from 27e7598 to 4da7aa7 Compare February 4, 2025 08:31
Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-20244
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.

2 participants