HomePhabricator

Add error handling for get_or_create_run race condition

Authored by catherinewu on Apr 29 2020, 5:41 AM.

Description

Add error handling for get_or_create_run race condition

Summary:
Handle the possibility of concurrent RunStorage add_run() by trying to fetch the run again after DagsterRunAlreadyExists

https://github.com/dagster-io/dagster/issues/2412

Test Plan: todo

Reviewers: max, schrockn, sashank

Reviewed By: schrockn

Subscribers: schrockn, sashank, max

Differential Revision: https://dagster.phacility.com/D2719

Details

Committed
catherinewuTue, May 19, 9:50 PM
Reviewer
schrockn
Differential Revision
D2719: Add error handling for get_or_create_run race condition
Parents
R1:76f6f9ad16d4: Initial version of wider, pipeline-centric left sidebar
Branches
Unknown
Tags
Unknown