[ 
https://issues.apache.org/jira/browse/CASSANDRA-21040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21040:
--------------------------------------------
          Fix Version/s: 5.1
                             (was: 5.x)
    Source Control Link: 
https://github.com/apache/cassandra/commit/a7a85c634a12d46fcd778709af77e35078ec60fc
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Optimize ModificationStatement#requiresRead 
> --------------------------------------------
>
>                 Key: CASSANDRA-21040
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21040
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 5.1
>
>         Attachments: CASSANDRA-21040_ci_summary.htm, 
> CASSANDRA-21040_results_details.tar.xz, image-2025-11-22-12-30-59-096.png
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> org.apache.cassandra.cql3.statements.ModificationStatement#requiresRead is 
> calculated now every time, we can calculate it once and memorize the result.
> It costs 1.5% of CPU for a simple 10-row batch insert test.
> !image-2025-11-22-12-30-59-096.png|width=1000!



--
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