Repository navigation
Revert "perf(fileservice): keep IVF-Flat entries objects in the index-file cache (#32697)" - #32809
Merged
Merged
Conversation
…-file cache (matrixorigin#32697)" This reverts commit b465f86, which also carried the fileservice range-read and prefetch changes of matrixorigin#32382. It regressed distributed SSB scans (matrixorigin#32796), Wiki IVF 10M under index-file cache pressure (matrixorigin#32760), and fails reads with an idle-source timeout while they wait for a connection (matrixorigin#32792). Conflict resolution with later commits: policy.go keeps ReplayDataForDiskCache from matrixorigin#32782 and drops ColumnPrefetch, ExactRead and IndexFileObject; the replay write in S3FS.write calls fillFile without the object-layout argument that matrixorigin#32697 added. Co-Authored-By: Claude Opus 5.5 <[email protected]>
cpegeric
requested review from
LeftHandCold,
XuPeng-SH,
aptend,
aunjgr,
fengttt and
gouhongshen
as code owners
November 16, 2026 09:48
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? |
Contributor
|
This pull request is merged. |
This was referenced Nov 16, 2026
Closed
cpegeric
added a commit
to cpegeric/matrixone
that referenced
this pull request
Nov 16, 2026
… keeping matrixorigin#32697 and its fixes
2 tasks done
Open
46 tasks
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?
Which issue(s) this PR fixes:
issue #32796 #32760 #32792
What this PR does / why we need it:
Reverts #32697 (squash commit b465f86). That commit also carried the fileservice range-read and prefetch changes of #32382, so both are reverted.
It caused three regressions on main:
RemoteDataSourcehas none, so remote CNs read each block's columns one range at a time.fileservice: no bytes from the source within the idle timeout. The new 20 s idle timer also counts the wait for a free pooled connection. A whole-object cache fill that waits that long fails the query.Root causes and the planned fixes are in the issue comments. The changes will be re-landed with those fixes.
Conflict resolution with later commits, both from #32782:
pkg/fileservice/policy.gokeepsReplayDataForDiskCacheand dropsColumnPrefetch,ExactReadandIndexFileObject.S3FS.writecallsfillFilewithout the object-layout argument that perf(fileservice): keep IVF-Flat entries objects in the index-file cache #32697 added.Validation: the build and
go vetpass, and the tests pass in every package the revert touches (fileservice/...,objectio,objectio/ioutil,vm/engine/readutil,vm/engine/disttae,disttae/logtailreplay,tae/tables,tae/txn/txnimpl,sql/plan,sql/compile,vectorindex/indexfile/...,vectorindex/ivfflat/...,util/metric/v2).🤖 Generated with Claude Code