Upgrade rocksdb version to v9.2.2#67274
Conversation
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
|
cc @rschu1ze |
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
|
This is an automated comment for commit ac48f11 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
|
Re. failing test in https://s3.amazonaws.com/clickhouse-test-reports/67274/f84e2d29482879aeedb70af9d89f1014df787c6d/stateless_tests__asan__[1_2].html: I don't understand yet why we explicitly set rocksdb log level to error, but the warning messages still being printed: May be @azat do you have any idea? |
So it turns out that in CI we set rocksdb log level to Here So proposed action is to change log level in CI to Note: Looking at this facebook/rocksdb#12667 (review), |
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
|
No sanitizer error found.. Not a surprise because we also have sanitizer build tests in CI and had been running this rocksdb version for a month (though less comprehensive than ClickHouse CI). Flaky test because I forget to drop table after test. Let's run CI for few more iteration. |
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
|
To be done in #66479 |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Main motivation is because current rocksdb version is too old. Once we have some SST files built by default bookworm rocksdb (8.10 iirc) and it cannot be read by ClickHouse rocksdb engine.
In addition, as discussed in #66479, upgrading from current version -> 9.2.2 will introduce 2 breaking changes:
kXXH3was added. Then in v7.8.0kXXH3was made default.format_versionis5, but from in version 8.xformat_version = 6was introduced and made by default.So we try to keep the new version data compatible with current version data (just in case anyone need to rollback) by explicitly set:
When the new version is stable, we can remove above code and use default value in rocksdb 9.2.2.
CI Settings (Only check the boxes if you know what you are doing):