kind-horse-40048
12/03/2024, 8:39 PMretry
when used with Step Functions. I am interested in using retry(..., minutes_between_retries=...)
to avoid periods of likely Spot interruptions. I understand that retry
is performed at the Batch level, not within the state machine definition. But the time.sleep
hereโis that happening within the Batch job? Stepping through the logic there, it looks like time.sleep
happens before a Batch job submission, so I'm confused about what process is doing the sleeping, and specifically whether it's happening within a Batch job or by something orchestrating the Batch job. (It's possible I just have a poor understanding of how SFN works, or that I'm looking in the wrong place ๐ )
Anyway, I'd be very grateful for a little help in understanding how retry
works with SFN and AWS Batch. Thanks!better-sundown-85230
12/03/2024, 9:41 PMpython my_flow.py \
--with retry:minutes_between_retries=30 \
step-functions create \
...
This has led us to question our understanding of how `@retry`'s minutes_between_retries
parameter is intended to work.square-wire-39606
12/04/2024, 8:45 PMminutes_between_retries
in step functions - hence that field is ignoredsquare-wire-39606
12/04/2024, 8:46 PMbetter-sundown-85230
12/04/2024, 8:48 PMkind-horse-40048
12/04/2024, 8:55 PMbetter-sundown-85230
12/04/2024, 9:01 PMsquare-wire-39606
12/04/2024, 9:02 PMbetter-sundown-85230
12/04/2024, 9:03 PMbetter-sundown-85230
12/04/2024, 9:51 PMminutes_between_retries
doesn't apply, as in my closed PR, it would be appropriate to indicate where it does apply, as in this example I just remembered. Obviously, whatever you think is best. Just figured I'd link to a potential precedent.