Skip to content

Issue a gitlab-ctl stop before replicating DB

Ash McKenzie requested to merge 196044-transient-failure-in-ee-geo into master

What does this MR do?

This MR issues a gitlab-ctl stop in the Geo Secondary prior to commencing DB replication because it can take > 60 seconds for the geo-logcursor service to stop which is the maximum time runit will wait before deeming the service as timed out and returning a non-zero exit code.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related #196044 (closed)

Edited by Ash McKenzie

Merge request reports