rilldata / rill

Rill is a tool for effortlessly transforming data sets into powerful, opinionated dashboards using SQL. BI-as-code.
https://www.rilldata.com
Apache License 2.0
1.75k stars 118 forks source link

Retry when the admin or runtime service is unavailable #5977

Closed begelundmuller closed 1 month ago

begelundmuller commented 1 month ago

This PR adds exponential backoff retries for admin and runtime gRPC requests that fail with an "unavailable" status code.

This will hopefully mitigate occasional errors such as this recent example:

repo handshake failed: rpc error: code = Unavailable desc = unexpected HTTP status code received ...

Closes https://github.com/rilldata/rill-private-issues/issues/787