Skip to content
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

crl-release-24.3: backport sstable writer bug fixes #4150

Merged
merged 2 commits into from
Nov 9, 2024

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Nov 8, 2024

24.3 backports of #4146 and #4147

Previously, the EstimatedSize method of the columnar sstable writer would panic
when the writer was configured with DisableValueBlocks enabled.
When keys are written to a sstable writer out-of-order, the writer returns an
error message. The error messages returned from the row-based and column-based
writers varied, in part because the columnar writer did not readily have the
previous key at hand. This commit adapts the column writer to synthesize the
previous user key for the purpose of embedding it within the returned error
message.
@jbowens jbowens requested a review from a team as a code owner November 8, 2024 21:36
@jbowens jbowens requested a review from aadityasondhi November 8, 2024 21:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jbowens jbowens merged commit b3c73d8 into cockroachdb:crl-release-24.3 Nov 9, 2024
22 checks passed
@jbowens jbowens deleted the 24.3-ingestbackport branch November 9, 2024 15:25
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.

3 participants