[ 
https://issues.apache.org/jira/browse/CASSANDRA-18355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754713#comment-17754713
 ] 

Benedict Elliott Smith commented on CASSANDRA-18355:
----------------------------------------------------

So, it would also be nice in this patch to ensure we aren't double writing the 
transaction contents. We already persist any constant write values in the 
transaction, and don't need them to reconstruct their portion of the `Writes` - 
which for most cases will be the vast majority of a `Writes`. 

So, really, instead of `Writes` we should be persisting only what we read from 
replicas that are necessary for computing the `Writes` from the local 
`PartialTxn`. Does that make sense?

> CEP-15: Transaction Result Serialization Efficiency
> ---------------------------------------------------
>
>                 Key: CASSANDRA-18355
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18355
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Accord
>            Reporter: Caleb Rackliffe
>            Assignee: Caleb Rackliffe
>            Priority: Normal
>             Fix For: NA
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> There are two things we probably don’t need to serialize and write to the 
> Accord state tables:
>  
> 1.) Internal/external read responses
> 2.) The full result of the transaction



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to