Fix EmbeddedRocksDB upgrade#87392
Conversation
|
Workflow [PR], commit [c5aab7d] Summary: ⏳
|
8b8a710
Cherry pick #87392 to 25.8: Fix EmbeddedRocksDB upgrade
Cherry pick #87392 to 25.9: Fix EmbeddedRocksDB upgrade
|
@Algunenano this PR (as well as #87109) break existing |
That's intended. It should not be possible to create files outside of user_files. It was a security vulnerability that should not have been possible. |
|
Ok, but then this should at least be listed as a breaking change in the changelog. We have ~40 EmbeddedRocksDB tables with a custom path (outside of user files). Is there an easy way to update those or do they need to be recreated |
Backport #87392 to 25.9: Fix EmbeddedRocksDB upgrade
On further thought, this reasoning seems to suggest you should only ever mount disks (eg. for use with Can you please help me understand what I'm missing? Why do |
Backport #87392 to 25.8: Fix EmbeddedRocksDB upgrade
|
Tables must live in a directory controlled by ClickHouse. The path option in the engine allowed them to live anywhere in the system. |
…25.9/87449 * u/backport/25.9/87449: Backport #87426 to 25.9: Ignore only not found errors for s3_plain_rewritable (and some other S3 code) Backport #87231 to 25.9: Fix "Too large size passed to allocator" UB in JOIN due to mixed const and non-const blocks Backport #87198 to 25.9: Disable the setting by default Backport #87392 to 25.9: Fix EmbeddedRocksDB upgrade Backport #87140 to 25.9: fix: fix server level max temporary size limit Backport #87178 to 25.9: PR: fix LEFT/INNER ... RIGHT ... JOINS chain Update autogenerated version to 25.10.1.1 and contributors
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix EmbeddedRocksDB upgrade
Before #87109 we used to a) allow any path for the
EmbeddedRocksDBtable, and b) create it underdatabasesif it wasn't provided. #87109 changed it to only allow usinguser_files, but it breaks upgrades for tables created without path. This addressed this by allowing attaching tables from the old default pathFollow up to #87109. Must be backported with it
Closes #87331
Documentation entry for user-facing changes