Skip to content

Cleaner WriteStrategyBuilder interface#7275

Open
connortsui20 wants to merge 1 commit intodevelopfrom
ct/pluggable-btr-writer
Open

Cleaner WriteStrategyBuilder interface#7275
connortsui20 wants to merge 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 from 423277e to 3adefa1 Compare April 2, 2026 21:56
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 force-pushed the ct/pluggable-btr-writer branch from 3adefa1 to 0ec1d1c Compare April 2, 2026 22:03
@connortsui20 connortsui20 enabled auto-merge (squash) April 2, 2026 22:11
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.

1 participant