Skip to content

Block in NewManager to wait for nodes to be up

John Cai requested to merge jc-wait-for-nodes into master

fixes: #2563 (closed)

Currently when Praefect starts up, the node manager will dial all the backend nodes but since we're not using grpc.WithBlock, it will silently fail. Praefect will have started up, and will be receiving requests and will fail because the connections have not been established yet.

This MR adds grpc.WithBlock so that NewManager will wait for initial connections to be established.

Merge request reports

Loading