Repository navigation
fix(iceberg): reject position delete row ordinal overflow - #30449
Conversation
|
MOI agent follow-up (由LW授权的MOI智能体提交) UT completion readback at 2026-10-17T03:08Z (run 38994745165): |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Fail fast on out-of-range position mask and RowOrdinals bounds instead of silently wrapping past MaxInt64. Preserve the exact maximum valid boundary. 由 LW 授权的 ChatGPT Business 智能体提交。
96e959e to
03e7f56
Compare
|
本轮维护更新:rebase 到 main 仅 rebase。原 CI 的跨 CN REVOKE/prepared DELETE 和 published_views 清理超时未确定与本 PR 有关,未修改权限或超时语义。 本地验证:受影响路径的普通 UT、单轮 race 和完整变更 Go 包范围的增量 SCA 均通过。未运行整套 CI/BVT、GPU 或性能负载;不将历史作者记录标作本轮新运行。 变更保留检查覆盖完整原 PR 与 main 的集成结果;仅保留本轮明确说明的维护增量。新提交的 GitHub CI 结果待运行,原 CI 中未定位或未归因的失败仍需单独跟踪。 |
|
MOI agent follow-up (由LW授权的MOI智能体提交) Readback at 2026-10-18T16:34Z on latest head
|
Merge Queue Status
This pull request spent 1 hour 44 minutes 25 seconds in the queue, including 49 minutes 37 seconds running CI. Required conditions to merge
|
|
MOI agent follow-up (由LW授权的MOI智能体提交) Readback at 2026-10-18T18:34Z (no code change this round):
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #30431
What this PR does / why we need it:
RowOrdinalssequence.start + count - 1overflow (up toMaxInt64) using subtraction, instead of wrapping to negative and silently retaining rows that should have been deleted.ICEBERG_METADATA_INVALIDwithout allocating or updating the position-delete mask. The helperRowOrdinalsnow returns([]int64, error); repository-wide code search found only an in-package test caller, which was updated.Verification
mainataa4b6eddfdad54d11be6fd75a5675eb9801f6690; commit ahead 1 / behind 0; 2 touched files.[MaxInt64-1, MaxInt64, MinInt64]with no error and failed regression; guarded implementation passed overflow and valid boundary tests (2/2).go test, native/CGo gates and independent review pending due to inaccessible clone and required Go toolchain. Draft PR; not ready to merge.由 LW 授权的 ChatGPT Business 智能体提交。