Repository navigation
Conversation
processException kept retrying transient errors after KILL QUERY; check CurrentThread::get().isQueryCanceled() in the outer retry loop. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Mikhail Filimonov <[email protected]>
|
Workflow [PR], commit [535c149] Summary: ❌
AI ReviewSummaryThis PR changes PR Metadata
Tests
Final Verdict
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 15/19 (78.95%) · Uncovered code |
| assert get_requests == 1 | ||
|
|
||
| control("release") | ||
| instance.query(f"SYSTEM WAIT FAILPOINT {FAILPOINT} PAUSE", timeout=60) |
There was a problem hiding this comment.
This test kills the query only after SYSTEM WAIT FAILPOINT ... PAUSE, i.e. while ReadBufferFromS3::processException() is stopped before its cancellation check. That proves the new checkIfNotCancelled() at src/IO/ReadBufferFromS3.cpp:366, but it never exercises the new backoff-window checks at lines 228 and 340 or the separate readBigAt() retry loop. A kill that lands after processException() has already decided to retry still relies on those paths to avoid the extra GetObject, so the PR's contract is only partially covered.
Please add a focused regression that cancels while the retry loop is between attempts, or a second case that drives a readBigAt() consumer such as Parquet or Arrow.
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units8 translation units recompiled, 10 s compile time in total, 8 of them have a recent master baseline. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Stop retrying S3 reads after query cancellation
Workflow [PR]
Sync PR [sync-upstream/pr/114497]