Dmitry Konstantinov created CASSANDRA-21414:
-----------------------------------------------
Summary: Reduce cost to calculate BTreeRow.minDeletionTime
Key: CASSANDRA-21414
URL: https://issues.apache.org/jira/browse/CASSANDRA-21414
Project: Apache Cassandra
Issue Type: Improvement
Components: Local/Other
Reporter: Dmitry Konstantinov
Assignee: Dmitry Konstantinov
Attachments: image-2026-05-31-22-04-44-862.png
When we do a merge on read (or when we build a row from data sent from a
client) we need to calculate minDeletionTime value, currently it is done by
BTreeRow.Builder#build and it iterates over cells to calculate this value, for
simple and typical cases we can build it while Builder is being filled with
data to avoid the iteration overheads.
It costs about 1.4% of CPU for a 10 row plain selection test
!image-2026-05-31-22-04-44-862.png|width=900!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]