Dmitry Konstantinov created CASSANDRA-21040:
-----------------------------------------------
Summary: 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
Attachments: image-2025-11-22-12-30-59-096.png
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 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]