Skip to content

sstable: include smallest separated value size in properties #5047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Jul 9, 2025

Record a new sstable property containing the size of the smallest value separated. This can be used to schedule the rewrite of sstables that contain separated values that are smaller than what is permitted by the current policy. See #5043.

Value separation doesn't lend itself well to a generalized approach to #5043 because when a sstable preserves blob references, the input sstables may have been written according to a variety of different policies.

Record a new sstable property containing the size of the smallest value
separated. This can be used to schedule the rewrite of sstables that contain
separated values that are smaller than what is permitted by the current policy.
See cockroachdb#5043.

Value separation doesn't lend itself well to a generalized approach to cockroachdb#5043
because when a sstable preserves blob references, the input sstables may have
been written according to a variety of different policies.
@jbowens jbowens requested a review from a team as a code owner July 9, 2025 18:35
@jbowens jbowens requested a review from annrpom July 9, 2025 18:35
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@annrpom annrpom left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 16 of 18 files at r1, all commit messages.
Reviewable status: 16 of 18 files reviewed, all discussions resolved

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.

4 participants