Skip to content

Cleaner WriteStrategyBuilder interface#7275

Merged
connortsui20 merged 1 commit intodevelopfrom
ct/pluggable-btr-writer
Apr 3, 2026
Merged

Cleaner WriteStrategyBuilder interface#7275
connortsui20 merged 1 commit intodevelopfrom
ct/pluggable-btr-writer

Conversation

@connortsui20
Copy link
Copy Markdown
Contributor

Summary

Continuation of #7274

Cleans up the WriteStrategyBuilder interface to allow EITHER an opaque compressor OR a BtrBlocksCompressorBuilder that we can modify at any point before building the write strategy.

API Changes

WriteStrategyBuilder now allows you to add a compressor plugin that will only override a default BtrBlocksCompressorBuilder. This means that whenever we add specific encodings, we are still able to exclude things like IntDictScheme when building the data compressor (which we did not do before)

Testing

The APIs have changed but the logic hasn't really changed, so existing tests should suffice.

@connortsui20 connortsui20 added the changelog/feature A new feature label Apr 2, 2026
@connortsui20 connortsui20 force-pushed the ct/pluggable-btr-writer branch 2 times, most recently from 3adefa1 to 0ec1d1c Compare April 2, 2026 22:03
@connortsui20 connortsui20 enabled auto-merge (squash) April 2, 2026 22:11
@connortsui20 connortsui20 marked this pull request as draft April 3, 2026 15:01
auto-merge was automatically disabled April 3, 2026 15:01

Pull request was converted to draft

@connortsui20 connortsui20 force-pushed the ct/pluggable-btr-writer branch 2 times, most recently from 17df9df to 3e6bb77 Compare April 3, 2026 15:16
@connortsui20 connortsui20 marked this pull request as ready for review April 3, 2026 15:16
@connortsui20 connortsui20 requested a review from lwwmanning April 3, 2026 15:20
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 force-pushed the ct/pluggable-btr-writer branch from 3e6bb77 to 66c92fa Compare April 3, 2026 15:25
@connortsui20 connortsui20 merged commit 02b0949 into develop Apr 3, 2026
62 of 63 checks passed
@connortsui20 connortsui20 deleted the ct/pluggable-btr-writer branch April 3, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants