a5a26f5efb
Allow the routers to start up without requiring full availability of all downstream ingesters. Previously a single unavailable ingester prevented the routers from starting up. This has downsides: * Lazily initialising a connection will cause the first writes to have higher latency as the connection is established. * The routers MAY come up in a state that will never work (i.e. bad ingester addresses) * Using the opaque gRPC load balancing mechanism restricts the visibility into which nodes are up/down (hindering useful log messages) and prevents us from implementing more advanced circuit breaking / probing logic / load-balancing strategies. This change is a quick fix - it leaves the round-robin handler in place, load-balancing over a single tonic Channel, which internally load-balances. This will need cleaning up. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |