Skip to content

Acceptance Testing CommitService::LastCommitIdForPath

~Conversation: #383 (closed)

See the Migration Process documentation for more information on the Acceptance Testing stage of the process.

Feature Toggle Name: gitaly_last_commit_for_path

Required Gitaly Version: vX.X.X

Required GitLab Version: v9.5


1. Preparation

2. Development Trial

3. Staging Trial

4. Production Server Version Check

5. Initial Impact Check

  • Set Gitaly to 1% using the command !feature-set gitaly_FEATURE_NAME 1 in #production
  • Leave running for at least 15 minutes
  • Monitor sentry, grafana and kibaba links above, every 5 minutes but preferably in "real-time"
    • On unusual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

6. Low Impact Trial

  • Set Gitaly to 5% using the command !feature-set gitaly_FEATURE_NAME 5 in #production
  • Leave running for at least 2 hours
  • Monitor sentry, grafana and kibaba links above, every 30 minutes
    • On unusual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

7. Mid Impact Trial

  • Set Gitaly to 50% using the command !feature-set gitaly_FEATURE_NAME 50 in #production
  • Leave running for at least 24 hours
  • Monitor sentry, grafana and kibaba links above, every few hours
    • On unusual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

8. Full Impact Trial

  • Set Gitaly to 100% using the command !feature-set gitaly_FEATURE_NAME 100 in #production
  • Leave running for at least a week
  • Monitor sentry, grafana and kibaba links above daily
    • On unusual activity, disable trial with !feature-set gitaly_FEATURE_NAME false in #production

9. Outcome

  • Report on the outcome of the tests (leave comments on this issue)

    • Did the migration perform as expected?
    • Did the code have reasonable performance characteristics?
    • Did error rates jump to an unacceptable level?
  • Additional Runbook information required?

    • If so, was it added? (link to MR)
  • Prometheus Alerts Added

    • If so, was it added? (link to MR)
Edited by Andrew Newdigate
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information