You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES_2026.02.1.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -503,6 +503,31 @@ recovery_batch_size = 10000 # Max records per recovery batch (default: 1000
503
503
504
504
*Contributed by [@khalid244](https://github.com/khalid244)*
505
505
506
+
### Query Timeout for S3 Disconnection (Issue #151, PR #152)
507
+
508
+
Added configurable query timeout to prevent indefinite hangs when S3 becomes unavailable during query execution.
509
+
510
+
**Problem:** When S3 connectivity was lost mid-query, DuckDB would hang waiting for its internal HTTP timeout (120+ seconds), causing queries to appear frozen and client connections to timeout unpredictably.
511
+
512
+
**Fix:** New `query.timeout` configuration with context-based cancellation:
513
+
- All query endpoints (JSON, Arrow, Estimate) now respect the timeout
514
+
- Returns HTTP 504 Gateway Timeout when exceeded
515
+
- Profiled queries also support timeout via new `QueryWithProfileContext` method
516
+
517
+
**Configuration:**
518
+
```toml
519
+
[query]
520
+
timeout = 300# Query timeout in seconds (default: 300s, 0 = no timeout)
521
+
```
522
+
523
+
**Environment variable:**`ARC_QUERY_TIMEOUT`
524
+
525
+
**New metric:**`arc_query_timeouts_total` - Counter of queries that exceeded the timeout
526
+
527
+
**Note:** The context cancellation signals the timeout but doesn't immediately stop DuckDB's internal HTTP operations. The query will return 504 to the client while DuckDB completes in the background.
528
+
529
+
*Contributed by [@khalid244](https://github.com/khalid244)*
530
+
506
531
## Improvements
507
532
508
533
### Configurable Server Idle and Shutdown Timeouts
@@ -1099,7 +1124,7 @@ None
1099
1124
Thanks to the following contributors for this release:
1100
1125
1101
1126
-[@schotime](https://github.com/schotime) (Adam Schroder) - Data-time partitioning, compaction API triggers, UTC fixes, Azure SSL certificate fix
0 commit comments