Skip to content

Retry more transient errors on reads, lock release and deployment-service calls - #7129

Merged
denik merged 2 commits into
mainfrom
denik/more-retries
Oct 21, 2026
Merged

denik merged 2 commits into
mainfrom
denik/more-retries

Conversation

@denik

@denik denik commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Changes

Retry idempotent calls that were not retried before: deploy lock stat/read/delete, state file reads, remote reads and waits after create/update in the direct engine, and the deployment-service get, list, update and delete calls. Reads also retry unexpected EOF transport errors.

Why

A cloud integration run (https://github.com/databricks-eng/eng-dev-ecosystem/actions/runs/39339632441) failed 8 scenarios on the first attempt with transient 500/504s. A failed lock release left a stale lock, and a clusters/get unexpected EOF failed a deploy. Non-idempotent creates (vector search POST, CreateDeployment, CreateVersion) are intentionally not retried.

Tests

Unit tests for IsTransientRead and the retrying filer.

This pull request and its description were written by Isaac.

denik and others added 2 commits October 20, 2026 15:21
…vice calls

Retry the idempotent calls that failed on transient backend errors in an
integration run: deploy lock stat/read/delete, state file reads, remote
reads and waits after create/update, and the deployment-service get, list,
update and delete calls. Reads also retry "unexpected EOF" transport errors.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 20, 2026
@denik
denik marked this pull request as ready for review October 20, 2026 13:46
@denik
denik requested review from a team as code owners October 20, 2026 13:47
@denik
denik enabled auto-merge October 20, 2026 13:53
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: f98fd07

Run: 39432125528

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 280 15 4:43
✅​ aws-windows-latest-4core-16gb 282 13 3:31
✅​ azure linux-2core-8gb 279 15 4:39
🔄​ azure-windows-latest-4core-16gb 2 279 13 4:04
✅​ gcp linux-2core-8gb 280 15 4:38
✅​ gcp-windows-latest-4core-16gb 282 13 5:11
Test Name azure-windows-latest-4core-16gb
🔄​ TestFilerReadDir 🔄​f
🔄​ TestFilerReadDir/files 🔄​f
Top 3 slowest tests (at least 2 minutes):
duration env testname
5:06 gcp-windows-latest-4core-16gb TestAccept
3:46 azure-windows-latest-4core-16gb TestAccept
3:25 aws-windows-latest-4core-16gb TestAccept

@denik
denik added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 224e797 Oct 21, 2026
27 checks passed
@denik
denik deleted the denik/more-retries branch October 21, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants