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
Preserve existing JDBC-aligned defaults (max_retries=5, retry_delay=1500ms,
max_chunks_in_memory=16) to avoid performance regressions per reviewer feedback.
Fix design spec retry table: 401/403/404 counts only against max_refresh_retries.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|`max_retries` default | 5 |**Keep 5** (aligned with OSS JDBC; C# uses 3 but we preserve existing default to avoid perf regression) |
42
+
|`retry_delay` default | 1500ms |**Keep 1500ms** (aligned with OSS JDBC; C# uses 500ms but we preserve existing default to avoid perf regression) |
43
43
|`chunk_ready_timeout`| Not mentioned for removal |**Removed** — only served the `wait_for_chunk` Notify loop (deleted); C# has no equivalent wait-layer timeout |
44
44
|`max_refresh_retries` exhaustion behaviour | Continues sleeping through remaining `max_retries` budget before failing — exhaustion throws inside the `try` block, caught by `catch (Exception ex) when (retry < _maxRetries - 1 ...)`, so the worker sleeps `retryDelayMs * (retry + 1)` for each remaining retry before the exception finally escapes |**Immediately fails** — sends `Err` via `result_tx` without burning any remaining `max_retries` budget |
45
45
| 404 retry behaviour | Not handled specially — `EnsureSuccessStatusCode()` throws, caught with sleep, counted against `max_retries`| Treated as a URL-expiry signal alongside 401/403: no sleep, refresh-and-retry, counted against `max_refresh_retries` only |
0 commit comments