Skip to content

Praefect subcommand for checking node connections

Paul Okstad (ex-GitLab) requested to merge po-praefect-conn-checker into master

This introduces a new Praefect subcommand for checking Gitaly/Praefect connections. It dials to the remote server and attempts a health check. Along the way, the various stages are printed to STDERR. Example output:

2020/01/13 12:39:00 [unix:/Users/paulokstad/gdk/gitaly-praefect-0.socket]: dialing...
2020/01/13 12:39:00 [unix:/Users/paulokstad/gdk/gitaly-praefect-0.socket]: dialed successfully!
2020/01/13 12:39:00 [unix:/Users/paulokstad/gdk/gitaly-praefect-0.socket]: checking health...
2020/01/13 12:39:00 [unix:/Users/paulokstad/gdk/gitaly-praefect-0.socket]: SUCCESS! node is healthy!

Part of #2259 (closed)

Edited by GitLab Release Tools Bot

Merge request reports

Loading