Repository navigation
Revert "Revert "Require the FILE source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir"" - #117665
Conversation
…table with an explicit rocksdb_dir""
|
Workflow [PR], commit [026899a] Summary: ❌
AI ReviewSummaryThis PR reverts the revert of the Findings❌ Blockers
Final VerdictStatus: ❌ Block Minimum required actions:
LLVM Coverage ReportMeasured on commit 026899a.
Changed lines: Changed C/C++ lines covered: 18/18 (100.00%) · Uncovered code |
|
The test in this PR is currently byte-identical to the reverted one, so the same deterministic failure will recur: the breakage was merge skew with #117406, not flakiness — details in #117651 (comment). Since #117406, the The fix is one line: |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes2 object files changed (+24.95 KiB total), 0 added.
716 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units7 translation units recompiled, 19 s compile time in total, 7 of them have a recent master baseline. |
…t-117428-rocksdb-explicit-dir-file-grant
…t-117428-rocksdb-explicit-dir-file-grant
…nt for an EmbeddedRocksDB table with an explicit rocksdb_dir""
Backport #117665 to 26.6: Revert "Revert "Require the FILE source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
Backport #117665 to 26.8: Revert "Revert "Require the FILE source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
Backport #117665 to 26.7: Revert "Revert "Require the FILE source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
…nt for an EmbeddedRocksDB table with an explicit rocksdb_dir""
Backport #117665 to 26.3: Revert "Revert "Require the FILE source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
…source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
…source grant for an EmbeddedRocksDB table with an explicit rocksdb_dir""
Reverts #117651
I just need to fix the test
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
ENGINE = EmbeddedRocksDB(ttl, rocksdb_dir, read_only)with an explicitrocksdb_dirnow requires theFILEsource grant thatfilerequires for the same directory:READ ON FILEto create such a table, plusWRITE ON FILEwhenread_only = 0. Previously it required no source grant, so a user holding onlyCREATE TABLEin a database of their own could point a table at another table's directory and read its rows.ON CLUSTERandReplicated-database DDL are not covered: the replay runs with no user. The argument-less form is unaffected. Backward incompatible for anyone already using an explicitrocksdb_dirwithout them.Workflow [PR]
Sync PR [sync-upstream/pr/117665]
Version info
26.8.3.38,26.7.7.27,26.6.5.49,26.3.31.7