Repository navigation
Conversation
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? |
XuPeng-SH
approved these changes
Sep 16, 2026
XuPeng-SH
left a comment
Contributor
There was a problem hiding this comment.
Deep review @ b6609ea
结论:approve。
审查重点结论:
- 这是有效的 full-object read policy 回归保护,不是绕过测试;
- 默认策略实际验证 min=0、max=nil,即 [0, EOF),显式 SkipFullFilePreloads 验证 [123,130);冷缓存和真实 storage recorder 避免 cache hit 静默通过;
- Legacy TopN 的 sparse、dense、explicit-range 三个场景覆盖了 policy 传递和结果正确性,tracked.live 归零;
- 没有新增 sleep、轮询或压力循环;约 1 MiB 数据、两个顺序 subtest 和 6 行 TopN fixture,没有发现具体的额外耗时、内存、time.Now 路径碰撞或 flaky 风险;
- fs、vector、MemoryFS、mpool 均有 cleanup,未发现具体资源泄漏或跨 subtest 污染;
- exact-head Ubuntu UT、arm64 SCA、CI Required 和 preflight 均通过。
边界:测试证明的是 full-object 请求策略和 legacy TopN policy 传递,不单独证明 DiskCache reuse 的全部性能行为;这与 PR 声明一致。无生产代码或 SQL 行为变更,BVT N/A 合理。
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…rigin#29017) ## What type of PR is this? - [x] Test and CI ## Context The reproduced mechanism from matrixorigin#28898 is already fixed by matrixorigin#28918, and matrixorigin#28888 covers full-object pending-publication rereads. The daily full-object assessment identified a policy boundary that needs to remain explicit. PR matrixorigin#12198 intentionally made the default S3FS read a full-object read and enabled reuse through the disk-cache full-file artifact. A sparse row selection alone is not sufficient evidence to replace that default: legacy vector decoding still follows the whole-column path, and later projected columns can benefit from the same full object. ## What this PR does - Adds a disk-backed S3FS regression guard that verifies `Policy(0)` requests `[0, EOF)` while `SkipFullFilePreloads` remains an explicit bounded-range opt-in. - Adds legacy ObjectIO TopN sparse/dense/explicit-range coverage so legacy TopN does not accidentally inherit the chunked path range policy. - Does not change production code, the default cache policy, prefetch behavior, DiskCache admission/eviction, or SQL semantics. This is a follow-up safety guard, not a claim of an end-to-end Daily/Wiki performance improvement. ## Validation - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/objectio` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/fileservice` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/objectio` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/fileservice` - `go vet -mod=readonly ./pkg/objectio ./pkg/fileservice` with the repository CGo include/link environment - `git diff --check` BVT: N/A. This change only adds internal FileService/ObjectIO regression coverage and does not change SQL behavior. Co-authored-by: XuPeng-SH <[email protected]>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…rigin#29017) ## What type of PR is this? - [x] Test and CI ## Context The reproduced mechanism from matrixorigin#28898 is already fixed by matrixorigin#28918, and matrixorigin#28888 covers full-object pending-publication rereads. The daily full-object assessment identified a policy boundary that needs to remain explicit. PR matrixorigin#12198 intentionally made the default S3FS read a full-object read and enabled reuse through the disk-cache full-file artifact. A sparse row selection alone is not sufficient evidence to replace that default: legacy vector decoding still follows the whole-column path, and later projected columns can benefit from the same full object. ## What this PR does - Adds a disk-backed S3FS regression guard that verifies `Policy(0)` requests `[0, EOF)` while `SkipFullFilePreloads` remains an explicit bounded-range opt-in. - Adds legacy ObjectIO TopN sparse/dense/explicit-range coverage so legacy TopN does not accidentally inherit the chunked path range policy. - Does not change production code, the default cache policy, prefetch behavior, DiskCache admission/eviction, or SQL semantics. This is a follow-up safety guard, not a claim of an end-to-end Daily/Wiki performance improvement. ## Validation - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/objectio` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/fileservice` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/objectio` - `GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/fileservice` - `go vet -mod=readonly ./pkg/objectio ./pkg/fileservice` with the repository CGo include/link environment - `git diff --check` BVT: N/A. This change only adds internal FileService/ObjectIO regression coverage and does not change SQL behavior. Co-authored-by: XuPeng-SH <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Context
The reproduced mechanism from #28898 is already fixed by #28918, and #28888 covers full-object pending-publication rereads. The daily full-object assessment identified a policy boundary that needs to remain explicit.
PR #12198 intentionally made the default S3FS read a full-object read and enabled reuse through the disk-cache full-file artifact. A sparse row selection alone is not sufficient evidence to replace that default: legacy vector decoding still follows the whole-column path, and later projected columns can benefit from the same full object.
What this PR does
Policy(0)requests[0, EOF)whileSkipFullFilePreloadsremains an explicit bounded-range opt-in.This is a follow-up safety guard, not a claim of an end-to-end Daily/Wiki performance improvement.
Validation
GOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/objectioGOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=600s ./pkg/fileserviceGOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/objectioGOMAXPROCS=4 .agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=600s ./pkg/fileservicego vet -mod=readonly ./pkg/objectio ./pkg/fileservicewith the repository CGo include/link environmentgit diff --checkBVT: N/A. This change only adds internal FileService/ObjectIO regression coverage and does not change SQL behavior.