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

CASSANDRA-20256: Fix 0xe299233a8efdcefdl in AccordSimulationRunner #161

Open
wants to merge 1 commit 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 28, 2025 14:22
@ifesdjeen ifesdjeen changed the title Fix 0xe299233a8efdcefdl in AccordSimulationRunner CASSANDRA-20256: Fix 0xe299233a8efdcefdl in AccordSimulationRunner Jan 28, 2025
@@ -788,7 +788,13 @@ static CommandsForKeyUpdate updateUnmanaged(CommandsForKey cfk, SafeCommand safe
if (safeCommand.current().hasBeen(Status.Truncated))
return cfk;

Command.Committed command = safeCommand.current().asCommitted();
Command orig = safeCommand.current();
if (orig.saveStatus() == SaveStatus.Uninitialised)
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe static import, and inline the two conditions? Also, good to use orig.txnId().is(EphemeralRead)

Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-20256
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