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

sstable: update fixtures to TableFormatPebblev1 #3144

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

RaduBerinde
Copy link
Member

@RaduBerinde RaduBerinde commented Dec 9, 2023

Informs #3064.

sstable: remove h.ldb

We will soon no longer support the LevelDB format, so we remove this
test file.

sstable: refactor test fixtures

This change cleans up and moves the code that builds test SSTs, so
that it will be accessible from a program that generates the fixtures.

We also rewrite the fixture metadata in a more readable format and we
add the missing info for "h.table-bloom.no-compression.sst".

make-table: make-table.go
go run ./make-table.go

sstable: replace make-table.cc

Replace the C program with a Go program that calls into the sstable
test fixtures code.

We also remove h.block-bloom.no-compression.sst which is of very
little use.

sstable: update fixtures to TableFormatPebblev1

We regenerate the fixtures at the Pebblev1 version - earlier versions
will soon be deprecated.

@RaduBerinde RaduBerinde requested review from a team and jbowens December 9, 2023 01:42
@cockroach-teamcity
Copy link
Member

This change is Reviewable

We will soon no longer support the LevelDB format, so we remove this
test file.
This change cleans up and moves the code that builds test SSTs, so
that it will be accessible from a program that generates the fixtures.

We also rewrite the fixture metadata in a more readable format and we
add the missing info for "h.table-bloom.no-compression.sst".

make-table: make-table.go
	go run ./make-table.go
Replace the C program with a Go program that calls into the sstable
test fixtures code.

We also remove `h.block-bloom.no-compression.sst` which is of very
little use.
We regenerate the fixtures at the Pebblev1 version - earlier versions
will soon be deprecated.
Copy link
Collaborator

@jbowens jbowens 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 6 of 6 files at r1, 4 of 4 files at r2, 7 of 7 files at r3, 9 of 9 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @RaduBerinde)

@RaduBerinde
Copy link
Member Author

TFTR!

@RaduBerinde RaduBerinde merged commit 556b4e0 into cockroachdb:master Dec 12, 2023
11 checks passed
@RaduBerinde RaduBerinde deleted the make-table branch December 12, 2023 21:44
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