influxdb/ioxd_router
Dom Dwyer a5a26f5efb
fix(router2): lazily connect to ingesters
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.
2023-01-05 11:25:35 +01:00
..
src fix(router2): lazily connect to ingesters 2023-01-05 11:25:35 +01:00
Cargo.toml chore(deps): Bump thiserror from 1.0.37 to 1.0.38 2022-12-19 10:33:32 +00:00