Dmitry Konstantinov created CASSANDRA-21363:
-----------------------------------------------
Summary: BTreeRow#hasLiveData: Avoid Cell iteration if there are
no tombstones in a row
Key: CASSANDRA-21363
URL: https://issues.apache.org/jira/browse/CASSANDRA-21363
Project: Apache Cassandra
Issue Type: Improvement
Components: Local/Other
Reporter: Dmitry Konstantinov
Assignee: Dmitry Konstantinov
Attachments: image-2026-05-10-17-14-07-547.png
BTreeSearchIterator - 2.65% of allocations within
org.apache.cassandra.db.rows.AbstractRow#hasLiveData
We can use BTreeRow#minLocalDeletionTime to avoid iteration over cells in some
scenarios, like: if (minLocalDeletionTime == Cell.MAX_DELETION_TIME)
return !BTree.isEmpty(btree);
!image-2026-05-10-17-14-07-547.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]