Files
floci/src/test/java
Priamo Germosen 1ea49d9432 fix(emr-serverless): end a cancelled run when Docker refuses the stop (#6510)
The Docker runner's stop() sent the driver a docker stop and caught
only a 404 or a 304. Any other Docker error escaped the executor task
that cancels a run, unlogged, and the run stayed CANCELLING until its
driver exited by itself, which a STREAMING run's never does.

stop() now only marks the run as stopping. The run's own thread, which
looks at the driver every 250 ms, reads the mark at its next look,
ends the run and removes the driver, as it does at a timeout, so no
Docker error can lose a cancel. The removal is
ContainerLifecycleManager's stopAndRemove, which logs what Docker
refuses and removes by force.

Follow-up to #6469.
2026-10-25 14:08:23 -05:00
..