[
https://issues.apache.org/jira/browse/CASSANDRA-21363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18083341#comment-18083341
]
Dmitry Konstantinov commented on CASSANDRA-21363:
-------------------------------------------------
CI run for trunk: https://pre-ci.cassandra.apache.org/job/cassandra/568
[^CASSANDRA-21363-trunk_ci_summary.htm]
Failures are not related to the change:
dtest-latest.replace_address_test.TestReplaceAddress
test_replace_with_insufficient_replicas
dtest-latest.client_request_metrics_test.TestClientRequestMetrics
test_client_request_metrics
dtest-latest.bootstrap_test.TestBootstrap
test_consistent_range_movement_true_with_rf1_should_fail
dtest-latest.bootstrap_test.TestBootstrap
test_consistent_range_movement_false_with_rf1_should_succeed
distributed.test.accord.MixedReadAccordCQLTest
testCASAndSerialRead-_jdk17_x86_64
fuzz.topology.AccordRebootstrapTest rebootstrapFuzzTest-_jdk17_x86_64
> 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
> Priority: Normal
> Attachments: CASSANDRA-21363-trunk_ci_summary.htm,
> image-2026-05-10-17-14-07-547.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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:
> in case of a non-empty row without tombstones we can just check:
> {code}
> if (minLocalDeletionTime == Cell.MAX_DELETION_TIME)
> return !BTree.isEmpty(btree);
> {code}
> and still the iteration
> !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]