Skip to content

Conversation

iamaleksey
Copy link
Member

patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-20710

@iamaleksey iamaleksey requested a review from ifesdjeen October 3, 2025 15:22
@iamaleksey iamaleksey self-assigned this Oct 3, 2025
Copy link
Contributor

@ifesdjeen ifesdjeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

I would personally add an integration test, similar to JournalGCTest: you populate keyspace, flush all tables, run discard, and make sure everything's discarded.

into.add(segment.asStatic());
}

void selectStatic(Predicate<StaticSegment<K, V>> filter, Collection<StaticSegment<K, V>> into)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we cache static segments to avoid re-filtering every time?

}
},
compactor(cfs, userVersion));
this.journal =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great to extract this portion of the patch and get it committed to trunk.

@iamaleksey iamaleksey requested a review from ifesdjeen October 8, 2025 11:37
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-20710
@iamaleksey iamaleksey merged commit 1bf0397 into apache:cep-45-mutation-tracking Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants