[ https://issues.apache.org/jira/browse/CASSANDRA-19757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868824#comment-17868824 ]
Benedict Elliott Smith edited comment on CASSANDRA-19757 at 7/25/24 11:30 PM: ------------------------------------------------------------------------------ We save the outcome now, so there would be no recomputing of dependencies; if we have replied to a coordinator then the vote we replied with is durable in our commit log. If we haven't replied to the coordinator, it doesn't matter what we computed first time around. (It's worth noting though that dependencies used in a vote are not required to be durable anyway - the coordinator is responsible for making them durable - the replica only needs to record the `executeAt` vote, and ensure it doesn't forget any conflicts it might have known when a coordinator next contacts it) was (Author: benedict): We save the outcome now, so there would be no recomputing of dependencies; if we have replied to a coordinator then the dependencies we sent are durable in our commit log. If we haven't replied to the coordinator, it doesn't matter what we computed first time around. > Accord Journal / Determinism: Load Command states from the log > --------------------------------------------------------------- > > Key: CASSANDRA-19757 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19757 > Project: Cassandra > Issue Type: Improvement > Components: Accord > Reporter: Alex Petrov > Assignee: Alex Petrov > Priority: High > Labels: pull-request-available > Fix For: 5.1 > > Attachments: ci_summary.html > > > * Persist intermediate Command inthe journal > * Simplify AccordJournal by removing Framing > * Save command outcomes to the log > * Reconstruct latest command state from the log entries > * Replace `SerializerSupport#reconstruct` with log reconstruction -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org