Skip to content

Draft: Migrate buffered counter workload to shared state

Sylvester Chin requested to merge sc1-buffered-counter-migrate into master

What does this MR do and why?

This MR introduces a feature flag to cutover the buffered counter workload from BufferedCounter to SharedState. This change only affects users using different external Redis instances for BufferedCounter and SharedState (i.e. gitlab.com).

Each project will cutover immediately unless they have a refresh ongoing (i.e. refresh indicator key exists).

See issue gitlab-com/gl-infra/scalability#2688

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Sylvester Chin

Merge request reports