Skip to content

Allow starting gitaly nodes in parallel

George Koltsov requested to merge jmd-start-gitaly-nodes-in-parallel into master

What does this MR do and why?

Update the method signature and add logic to allow starting gitaly nodes in parallel.
The current mechanism start the main gitlab instance in parallel to a separate thread which starts the gitalyCluster. Details on this are outlined in the issue description on https://gitlab.com/gitlab-org/gitlab-qa/-/merge_requests/965+

However in https://gitlab.com/gitlab-org/gitlab-qa/-/merge_requests/1092 I foresee a potential case where I may need to start the gitlab instance separately from the cluster, so in scenarios like this - having the ability to start the gitaly nodes in parallel will allow an improvement in boot time.

To minimise the size and scope of changes - splitting this change out to it's own MR.

How to set up and validate locally

  • Checking the output of pipelines should be identical to before in this MR

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports