https://dagster.io/ logo
#ask-community
Title
# ask-community
t

Tom Medalya

02/21/2023, 9:41 AM
Hello, I am new to dagster and try to find out if it fits our needs. so far most of the cases seems to work well, but I have an issue that I want to verify as it seems not to work.. We are using
@asset_sensor
with
run_key
to avoid duplications, the
run_key
is the ID of the data set we get. when I run it from different sensor run it works successfully. the issue start when I try to run the same sensor with duplication. even though the job start with the same
run_key
it is being triggered multiple times. is this the expected behaviour?
c

claire

02/22/2023, 8:29 PM
Hi Tom. The expected behavior in this case is that the sensor will not kick off another run if a run with the run key has already been triggered by the sensor. To clarify, did you find that run requests triggered another job run with the same run key for the same sensor?
t

Tom Medalya

02/24/2023, 10:12 AM
Hey Claire, I added to the asset duplication and ran all in one
@asset_sensor
when it fun in separate execution of a asset sensor it worked, but when it was the same asset_sensor execution it trigger the same run request 2 times.
2 Views