You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Review access controls for SQL file operations #30185
SQL file operations need a review of authorization and access boundaries. Current behavior may allow access beyond the intended scope of a database user.
Expected Behavior
File operations should consistently enforce user permissions and permitted access scope.
Steps to Reproduce
Identified through code review. Runtime validation is pending; detailed reproduction information is not included here.
Activity
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
fix: persist owned index artifacts without elevating SQL
Fix: Unify SQL server file access authority (#30212)
test(external): bind file access policy in boundary fixtures (#30439)
[4.2-dev] Fix SQL server file access isolation (#30185) (#30433)
XuPeng-SH commentedon Oct 17, 2026
验证通过,转测 @Ariznawlll。
本轮复核关联 PR #30212、#30433,实测 main 提交
aa4b6eddfdad54d11be6fd75a5675eb9801f6690(Linux/amd64、Go 1.27.1;使用对应 native 构建)。main 与 4.2-dev 的 SQL 文件授权核心场景均通过:TestSQLFileAccessAuthorization、TestSQLFileAccessTenantStageCDC、TestSQLFileAccessPeerPersistence;底层文件服务/Datalink 授权、资源关闭、当前身份传播回归通过。4.2-dev 实测提交为
c914080bba57dd17fb86be300c22b9be43cc2b61。使用隔离夹具验证拒绝与合法访问,没有操作生产文件。GPU/CAGRA/IVFPQ 的原生存储路径未启用所需 GPU 构建,不能据此声称该硬件路径也已验证。本次保持 OPEN,请测试侧在目标交付版本完成验收后决定关闭。
Ariznawlll commentedon Oct 29, 2026
结论
测试通过。本次按已确认范围完成 SQL 文件权限及 GPU 原生索引存储路径验收。
关键证据
main@1cea057047b7485736421842612c38d5667152efGPU 镜像,单 CN、单 NVIDIA RTX 4090;镜像 digest 为sha256:5e83d01ed5605d6a0ef369bcc3a79344ebce40e42d616930fa87ce699f159dcc。该版本不是本评论发布时最新 main。待解决点