Repository navigation
fix(fileservice): remove always-on cache attribution overhead - #30971
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? |
|
Local verification uses only clean main and this candidate, built normally in separate checkouts. No combined candidate or source overlays. Comparison base: SF10: eight physical CPUs, 16 GiB CN SHARED cache, 32 GiB whole application including the private RAM image, no swap. Existing loaded image reused. Cold selected-query warmups excluded; profiles collected separately. No input/table/schema/row-count/reference/result verification.
Changes use the median of paired process ratios; columns show medians over six process generations. No aggregate gain overrides an individual regression. Main advanced after timing collection. Its reviewed changes concern JSONLINE import and lock cleanup/shutdown, outside the recorded native read-only TPC-H query paths. The snapshot timing evidence is reused; owning-package tests and full static checks run on the merged PR head. Environmental exclusions were preserved and whole matched pairs repeated. No performance sample was discarded for being slower. Package/static checks and separate profile/resource gates passed. Software/source identities, raw timing records and profiles are retained locally; broader optimization issues stay open. |
|
mo-bot review · Commit: Review belongs to an older commit; it is not a review of the current head. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed current head d4ca29d4c223bd4fc3b3f3157f7660e5c6a4d917 against base 5fb586e1429386260b900171f65ffa844f49c981.
The change removes the hot-path attribution updates and their now-unused perfcounter fields/tests, while preserving cache admission/codec behavior, the existing pressure metric, and the core atomic HTTP counter reporting/reset. This is a focused removal of measured diagnostic overhead; it does not claim to complete the broader decoded-cache reuse optimization in #30849/#30838. I found no new correctness issue in the diff.
Validation boundary: the PR comment/body reports owning-package tests, static checks, and an SF10 Q1–Q22 comparison, but these are author-reported. I could not run them locally: this workspace has no MatrixOne checkout or Go runtime. The exact-head combined status is empty; the only visible workflow is unrelated Iceberg Connector E2E.
Merge Queue Status
This pull request spent 3 hours 2 minutes 37 seconds in the queue, including 1 hour 37 minutes 56 seconds running CI. Required conditions to merge
|
XuPeng-SH
left a comment
There was a problem hiding this comment.
Rechecked after the 2026-10-23 Mergify synchronization. Current head 16c62d6b87d4aec9188700fdc0072a3182dda624 is 6 commits ahead of current base e3a6ffe27cc74b2c2066a57c6128f35620f8f45e; the PR diff remains the 12-file cache-attribution change. The sync merge adds upstream main changes, but the PR-scoped delta still removes the read-path attribution counters while retaining cache admission/pressure behavior, codec validation and atomic HTTP counter reporting/reset. Static review found no new defect. The prior approval was against an older head. I could not run local tests: this workspace has neither a MatrixOne checkout nor Go. Exact-head combined status has no status checks; the only associated workflow run currently visible is Iceberg Connector E2E in progress, which does not verify this change. Next verification: allow the PR-specific required checks to complete, then rerun the focused fileservice/objectio/perfcounter/readutil tests on this head.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Incremental review of the current head 88785c2bffd520df532c2df351d10cc6a5d7b258, rebased onto base 06b8ce7bab7a57003e25c52a45f5712105e71788 after the #30962 merge. The PR-scoped diff remains the 12-file removal of always-on cache attribution updates and their now-unused counters/tests; cache admission, codec validation, pressure metrics, and atomic HTTP counter reporting/reset remain. I found no new issue in the synchronized head. The previous performance evidence is author-reported and is not a fresh run on this synchronized SHA. I could not run local tests here because this workspace has no MatrixOne checkout or Go runtime. Exact-head commit status is empty; the only visible workflow is Iceberg Connector E2E (success), unrelated to these fileservice/objectio paths.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #30849 and #30838. This focused correction does not complete the broader optimization issue.
What this PR does / why we need it:
Remove always-on reader, column-construction and cache-admission attribution updates from ordinary reads. Keep cache admission decisions, codec validation, cleanup and reader thresholds unchanged. Preserve atomic HTTP counter reporting and its reset/concurrency tests. Retain the uncompressed/LZ4 constructor benchmark.
Validation: owning-package tests, full pre-push static checks, isolated local TPC-H SF10 Q1–Q22 and separate CPU profiles pass. The baseline is a real clean-main checkout; the candidate contains only this fix, with no source overlays. Six balanced process pairs use three scored calls per query after excluded cold warmups. No slower-query signals were detected across Q1–Q22. Constructor microbenchmarks show no slower signal or allocation increase. Detailed measurements are recorded in the PR comment.