Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

By default, failing ctx.run() calls (like the accountService call) will be retried indefinitely until they succeed unless you have configured a retry policy for them. In the case of a configured retry policy where you have exhausted the number of retry attempts, Restate will mark this call as terminally failed and record it in its log as such and return it to the caller.


You can catch these errors and handle them in a common try/catch manner, and because the results of `ctx.run` are recorded in the log, this is deterministic and reliable




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: