Repository navigation
Conversation
|
Workflow [PR], commit [178767e] Summary: ❌
AI ReviewSummaryThis PR fixes a real race in PR Metadata
Exact replacement: Final Verdict✅ Code looks correct. No new inline findings to post on the current diff; only the changelog entry should be rewritten into user-facing language. LLVM Coverage Report |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes10 object files changed (+56.96 KiB total), 0 added.
716 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units52 translation units recompiled, 440 s compile time in total, 52 of them have a recent master baseline. |
serxa
left a comment
There was a problem hiding this comment.
Looks good, but let's do some small refactoring to make things clear
232e585 to
14ab5f9
Compare
…reaks "Docs examples" check) https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=116085&sha=latest&name_0=PR&name_1=Docs+examples ClickHouse#116085 Co-Authored-By: Claude Fable 5.1 <[email protected]>
14ab5f9 to
a921eab
Compare
…ht decrease Decreases are approved asynchronously, so an increase computed while one is in flight used a stale allocated value: drop A->B (decrease A-B enqueued), rise to C before approval enqueues C-A; after both approvals allocated = C - (A-B), and the thread waits on actual <= allocated forever (the unchanged-tracker early return prevented re-issuing the shortfall). Fix: track the in-flight decrease size and size requests against the post-decrease allocated value; take the early-return only when fully in sync, so residual shortfall/excess self-heals. Co-Authored-By: Claude Fable 5 <[email protected]>
A blocking scheduler event keeps the decrease in flight while the increase is enqueued, making the crossing deterministic. Co-Authored-By: Claude Fable 5 <[email protected]>
a921eab to
178767e
Compare
b0bbe7a
Decreases are approved asynchronously, so an increase computed while one is in flight used a stale allocated value: drop A->B (decrease A-B enqueued), rise to C before approval enqueues C-A; after both approvals allocated = C - (A-B), and the thread waits on actual <= allocated forever (the unchanged-tracker early return prevented re-issuing the shortfall). Fix: track the in-flight decrease size and size requests against the post-decrease allocated value.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
workload: fix MemoryReservation hang when increase races with in-flight decrease
Workflow [PR]
Sync PR [sync-upstream/pr/116085]
Version info
26.9.1.660(included in26.9and later)