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

Set default format_version to 5 for RocksDB databases #4480

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Aug 15, 2024

Fix #4479

Motivation

RocksDB format_version 5 has been supported since RocksDB 6.6 . It's required for certain performance optimizations.
Currently the default is format_version 2 which is really old. It's better to default to a more modern version.

Changes

  • upgrade default format_version from 2 to 5
  • specify format_version=5 in various configuration files

@lhotari
Copy link
Member Author

lhotari commented Aug 15, 2024

@hangc0276 @dlg99 Please review this PR. I think that this is needed before #4422.

@lhotari lhotari merged commit 8c7dea6 into apache:master Aug 16, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade RocksDB default format_version to 5
3 participants