Handling Backlogged RunRequests Triggered by Broken/Stuck Sensors #17967
-
Hi team, Is there a way to configure a sensor to either disregard outdated requests or a method to cancel accumulated RunRequests programmatically (e.g., script)? ContextI had a sensor stuck in an "Evaluating" state for an extended period (two days). Once fixed, the system generated a RunRequest for every missed sensor tick during the downtime. This resulted in a sudden surge of runs being executed. Questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The current recommended approach would
https://docs.dagster.io/concepts/partitions-schedules-sensors/sensors#idempotence-and-cursors
Also, recent versions of the UI include a |
Beta Was this translation helpful? Give feedback.
The current recommended approach would
cursor
with your sensorhttps://docs.dagster.io/concepts/partitions-schedules-sensors/sensors#idempotence-and-cursors
#14203
Also, recent versions of the UI include a
Terminate all...
button on the Queued runs tab.