Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,288
    • Issues 44,288
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,283
    • Merge requests 1,283
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #224168
Closed
Open
Issue created Jun 24, 2020 by Fabian Zimmer@fzimmer🌿Developer6 of 6 checklist items completed6/6 checklist items

Geo: Default feature flag enabled for snippets

What

Default the :geo_snippet_repository_replication feature flag to enabled.

Owners

  • Team: @geo-team
  • Most appropriate slack channel to reach out to: #g_geo
  • Best individual to reach out to: @mkozono

Expectations

### What are we expecting to happen?

On staging.gitlab.com, Snippets selected for sync should be replicated to geo.staging.gitlab.com.

On gitlab.com, nothing, since there is no secondary.

What might happen if this goes wrong?

Worst case is probably errors during creation of Snippets on the primary. Next might be errors in Geo-related jobs.

What can we monitor to detect problems with this?

Staging:

  • https://staging.gitlab.com/admin/geo/nodes
  • Sidekiq queue lengths and errors https://dashboards.gitlab.net/d/sidekiq-main/sidekiq-overview?orgId=1&var-PROMETHEUS_DS=Global&var-environment=gstg&var-stage=main&var-sigma=2

Prod:

  • Sidekiq queue lengths and errors https://dashboards.gitlab.net/d/sidekiq-main/sidekiq-overview?orgId=1

Beta groups/projects

N/A

Roll Out Steps

  • Enable on staging
  • Test on staging
  • Test on Omnibus + Geo test instances
  • Ensure that documentation has been updated
  • [-] Enable on GitLab.com for individual groups/projects listed above and verify behaviour
  • [-] Coordinate a time to enable the flag with #production and #g_delivery on slack.
  • [-] Announce on the issue an estimated time this will be enabled on GitLab.com
  • [-] Enable on GitLab.com by running chatops command in #production
  • [-] Cross post chatops slack command to #support_gitlab-com and in your team channel
  • [-] Announce on the issue that the flag has been enabled
  • Enable the feature flag by default, and add changelog entry =>
  • Open the issue to make replication disableable per resource =>
Edited Dec 09, 2020 by Valery Sizov
Assignee
Assign to
Time tracking