Repository navigation
fix(cloudfetch): bump twox-hash to 2.1.3 and surface panicking download tasks - #243
Merged
Merged
Conversation
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 15:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 16:47 — with
GitHub Actions
Inactive
eric-wang-1990
marked this pull request as ready for review
August 12, 2026 17:13
eric-wang-1990
requested review from
gopalldb,
sreekanth-db and
vikrantpuppala
August 12, 2026 17:13
eric-wang-1990
had a problem deploying
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Error
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 17:13 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
August 12, 2026 19:56 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — the twox-hash 2.1.3 bump fixes the root-cause overflow panic, and join_download_task is a sound defensive guard that converts a swallowed task panic into a DownloadFailed chunk + notify_one(), so the reader fails cleanly instead of wedging. Terminal-state handling means no re-spawn/re-panic loop, cancellation stays cooperative, and the new unit test covers the helper. One non-blocking low note on the nested-spawn mechanics.
Addresses: - #3769905194 at src/reader/cloudfetch/streaming_provider.rs:574 Signed-off-by: peco-engineer-bot[bot] <peco-engineer-bot[bot]@users.noreply.github.com>
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 12, 2026
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.
Problem
The kernel's large-result CloudFetch nightly (
databricks-sql-kernel-nightly.ymlin databricks-driver-test) hangs until the 2h CI cap. Root-caused to atwox-hash 2.1.2integer-overflow panic:twox-hash 2.1.2'sxxhash32::Hasher::finish_withfinalizes with a non-wrapping+that overflowsu32→ panics under debugoverflow-checks(cargo test). Release builds wrap (correct xxHash), so this is debug/CI-only.lz4_flex 0.14.0'sFrameDecoder::check_block_checksumwhileMultiFrameLz4Readerdecompresses a CloudFetch Arrow chunk. It's data-dependent, so a random chunk trips it.StreamingCloudFetchProvider::schedule_downloads), whoseJoinHandleis dropped — so tokio swallows it. The chunk staysDownloadingforever, the in-memory window fills, scheduling halts, and the whole stream wedges.Confirmed with a full backtrace and reproduced direct-to-Azure (no proxy).
Fix
twox-hash2.1.2 → 2.1.3 (satisfieslz4_flex 0.14'stwox-hash "2"). Resolves the overflow.JoinHandlefrom a supervisor task, so a panic surfaces as aJoinError→ the chunk is markedDownloadFailedand the reader fails cleanly, instead of hanging forever. Defensive: prevents any future download-path panic from silently wedging the stream.Validation
samples.tpch.lineitem(29,999,795 rows = COUNT(*), exact match, no data loss) direct to Azure in ~176s withtwox-hash 2.1.3— no panic (previously panicked on a random chunk within ~1-2 min).cargo test --lib cloudfetch— 80 passed, 0 failed.PECOBLR-4026
This pull request and its description were written by Isaac.