The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/file-service-startup-resilience has failed.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
eba77a827f39d34de1bad179080c3ee7765ca9a8 / Matthew Ball <[email protected]>
fix(file-service): wait with capped backoff for the object store at startup

FileService.run blocks startup on reaching the object store, calling 
awaitDependency around S3StorageClient.createBucketIfNotExist. awaitDependency 
delegated to RetryUtil.withBackoff with 6 attempts from 200ms (~6s total) and 
then let it throw, which fails run(), exits the process, and leaves Docker to 
restart the container. When the object store is slow to start or briefly 
unavailable, that six-second window expires and the container tight-restarts, 
retrying and failing again every cycle.

awaitDependency now waits far longer before giving up: 30 attempts from 500ms, 
doubling and capped at 15s via the maxDelayMillis the retry helper already 
supports, about six and a half minutes in total. A store that is slow or 
briefly down is reached within that window without the process exiting, so 
there is no tight restart/retry loop; a permanent outage still eventually 
throws so it is not hidden, just far less often and without the per-cycle 
storm. maxDelayMillis is placed after the injectable sleep parameter so 
existing positional callers and tests are unaffected.

FileServiceSpec adds a case asserting the delay is held at maxDelayMillis once 
doubling reaches it. reference/perf-candidates.md records this under P4.

Report URL: https://github.com/apache/texera/actions/runs/43594502598

With regards,
GitHub Actions via GitBox

Reply via email to