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

kv/kvserver split incoming snapshot user keys into multiple sstables #104426

Closed
wants to merge 1 commit into from

Conversation

raggar
Copy link
Contributor

@raggar raggar commented Jun 6, 2023

We ingest a fixed number of sstables, corresponding to the range's various contiguous keyspaces. When the default range size increased from 64 MB to 512 MB, we started ingesting larger user data sstables which negatively impacts compation. This change creates a new sstable if the current one is too large (greater than 128MiB).

Release note: None
Fixes: #67284

TODO:

  • add tests

@blathers-crl
Copy link

blathers-crl bot commented Jun 6, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

We ingest a fixed number of sstables, corresponding to the range's
various contiguous keyspaces. When the default range size increased from
64 MB to 512 MB, we started ingesting larger user data sstables which
negatively impacts compation. This change creates a new sstable if the
current one is too large (greater than 128MiB).

When the default range size increased from 64 MB to 512 MB, we started
ingesting user data sstables up to 512 MB.

Release note: None
Fixes: cockroachdb#67284
@raggar
Copy link
Contributor Author

raggar commented Jul 13, 2023

to be replaced by: #106771

@raggar raggar closed this Jul 13, 2023
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.

kv/kvserver: split incoming snapshot user keys into multiple sstables
2 participants