Skip to content

Revert "perf(fileservice): keep IVF-Flat entries objects in the index-file cache (#32697)" - #32809

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
cpegeric:revert_32697
Nov 16, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
cpegeric:revert_32697

Conversation

@cpegeric

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

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:

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:

Validation: the build and go vet pass, 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

…-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]>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify

mergify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

This branch was previously deployed

1 inactive deployment
ci — 15467934 Deployed Nov 16, 2026 by mergify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/XXL Denotes a PR that changes 2000+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants