[
https://issues.apache.org/jira/browse/CASSANDRA-21363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18083517#comment-18083517
]
Dmitry Konstantinov commented on CASSANDRA-21363:
-------------------------------------------------
CI run for 6.0:
https://pre-ci.cassandra.apache.org/job/cassandra-6.0/25/#showFailuresLink
All failures are not related to the change:
Tests / jvm-dtest jdk17 1/16 /
org.apache.cassandra.fuzz.topology.AccordTopologyMixupTest.test-_jdk17_x86_64
Tests / jvm-dtest jdk17 4/16 /
org.apache.cassandra.distributed.test.accord.AccordMigrationTest.testPaxosToAccordCAS-_jdk17_x86_64
Tests / jvm-dtest jdk17 4/16 /
org.apache.cassandra.distributed.test.accord.AccordMigrationTest.testPaxosToAccordSerialRead-_jdk17_x86_64
Tests / dtest-latest jdk17 7/64 /
dtest-latest.bootstrap_test.TestBootstrap.test_consistent_range_movement_false_with_rf1_should_succeed
Tests / dtest-latest jdk17 6/64 /
dtest-latest.bootstrap_test.TestBootstrap.test_consistent_range_movement_true_with_rf1_should_fail
Tests / dtest-latest jdk17 34/64 /
dtest-latest.client_request_metrics_test.TestClientRequestMetrics.test_client_request_metrics
Tests / dtest-latest jdk17 23/64 /
dtest-latest.replace_address_test.TestReplaceAddress.test_replace_with_insufficient_replicas
Tests / dtest-latest jdk17 23/64 /
dtest-latest.replace_address_test.TestReplaceAddress.test_replace_with_insufficient_replicas
Tests / dtest-latest jdk17 23/64 /
dtest-latest.replace_address_test.TestReplaceAddress.test_replace_with_insufficient_replicas
> 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]