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

Stefan Miklosovic updated CASSANDRA-21040:
------------------------------------------
    Reviewers: Stefan Miklosovic
       Status: Open  (was: Triage Needed)

> 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.x
>
>         Attachments: image-2025-11-22-12-30-59-096.png
>
>          Time Spent: 40m
>  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