Skip to content

[v3-3-test] API: Return 503 when SQLite locks during backfill creation (#67900)#69659

Draft
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-2fb2321-v3-3-test
Draft

[v3-3-test] API: Return 503 when SQLite locks during backfill creation (#67900)#69659
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-2fb2321-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

SQLite backfill creation via the REST API could return HTTP 500 and
leave an orphan Backfill row when the scheduler and API server contend
for the database, blocking retries with 409. Map lock errors to HTTP 503
with a clear message and clean up partial DagRuns and TaskInstances so
users can retry against a clean slate.
(cherry picked from commit 2fb2321)

Co-authored-by: Lohit Kolluri lohitkolluri@gmail.com
Signed-off-by: Lohit Kolluri lohitkolluri@gmail.com

#67900)

SQLite backfill creation via the REST API could return HTTP 500 and
leave an orphan Backfill row when the scheduler and API server contend
for the database, blocking retries with 409. Map lock errors to HTTP 503
with a clear message and clean up partial DagRuns and TaskInstances so
users can retry against a clean slate.
(cherry picked from commit 2fb2321)

Co-authored-by: Lohit Kolluri <lohitkolluri@gmail.com>
Signed-off-by: Lohit Kolluri <lohitkolluri@gmail.com>
@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant