Skip to content

21460 cursor bti - #5154

Open
rustyrazorblade wants to merge 1 commit into
apache:cassandra-6.0from
rustyrazorblade:21460-cursor-bti
Open

rustyrazorblade wants to merge 1 commit into
apache:cassandra-6.0from
rustyrazorblade:21460-cursor-bti

Conversation

@rustyrazorblade

Copy link
Copy Markdown
Contributor

Adds BTI support to cursor compaction.

@rustyrazorblade
rustyrazorblade force-pushed the 21460-cursor-bti branch 7 times, most recently from 8c0d275 to 1bcd6fd Compare September 17, 2026 18:06
Give cursor compaction a BTI CursorIndexWriter that builds the trie
index from cursor-emitted partition and row boundaries. Formats now
declare their own cursor support and build their own index writer,
replacing the scattered format checks and instanceof dispatch. Copy the
partition key once per partition into a reusable key on the write path.
Add BTI differential and allocation tests that pin BTI output against
the iterator path.

patch by Jon Haddad; reviewed by _ for CASSANDRA-21460

Assisted-by: Claude
@nitsanw

nitsanw commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Will have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants