Skip to content

Rollout serving migrated data (feature flag `pages_serve_from_migrated_zip`)

What

Rollout :pages_serve_from_migrated_zip feature flag that makes us serve data from https://gitlab.com/gitlab-com/gl-infra/production/-/issues/3252.

Introduced by: !52573 (merged)

Owners

  • Team: GitLab Pages
  • Most appropriate slack channel to reach out to: #gitlab_pages
  • Best individual to reach out to: @vshushlin @ayufan

Expectations

What are we expecting to happen?

A migrated projects will be served using Object Storage ZIP artifact instead of using VFS disk.

What might happen if this goes wrong?

A data might not be served properly.

What can we monitor to detect problems with this?

Similar to: gitlab-com/gl-infra/production#2808 (comment 430825927)

We do percentage rollout

# 5% of projects
/chatops run feature set pages_serve_from_migrated_zip 5 --actors

# 10% of projects
/chatops run feature set pages_serve_from_migrated_zip 10 --actors

# 25% of projects
/chatops run feature set pages_serve_from_migrated_zip 25 --actors

# 50% of projects
/chatops run feature set pages_serve_from_migrated_zip 50 --actors

# 100% of projects
/chatops run feature set pages_serve_from_migrated_zip 1 --actors

Roll Out Steps

  • Enable on staging (/chatops run feature set pages_serve_from_migrated_zip true --staging)
  • Test on staging
  • Ensure that documentation has been updated
  • [-] Continue performing percentage rollout of actors
  • Enable on production for specific project (/chatops run feature set --project=ayufan/pages-jekyll pages_serve_from_migrated_zip true)
  • Coordinate a time to enable the flag with the SRE oncall and release managers
    • In #production mention @sre-oncall and @release-managers. Once an SRE on call and Release Manager on call confirm, you can proceed with the rollout
  • 5% rollout /chatops run feature set pages_serve_from_migrated_zip 5 --actors
  • 10% rollout /chatops run feature set pages_serve_from_migrated_zip 10 --actors
  • 25% rollout /chatops run feature set pages_serve_from_migrated_zip 25 --actors
  • 50% rollout /chatops run feature set pages_serve_from_migrated_zip 50 --actors
  • Enable a 100% rollout on GitLab.com by running chatops command in #production (/chatops run feature set feature_name true)
  • Cross post chatops Slack command to #support_gitlab-com (more guidance when this is necessary in the dev docs) and in your team channel
  • Announce on the issue that the flag has been enabled
  • Remove feature flag and add changelog entry
  • After the flag removal is deployed, clean up the feature flag by running chatops command in #production channel

Rollback Steps

  • This feature can be disabled by running the following Chatops command:
/chatops run feature delete pages_serve_from_migrated_zip
Edited by Vladimir Shushlin