Skip to content

Refactor Geo Event Worker and Service

Michael Kozono requested to merge mk/clean-up-geo-event-worker into master

What does this MR do and why?

This is a refactor:

  • Fixes many Rubocop offenses
  • Removes unused code
  • The worker was already idempotent
  • The change from always to sticky data consistency is not a behavior change since it is not applicable to the Geo tracking DB. This worker only runs on secondary Geo sites and it will never write to the main or CI DB. And sticky waits for replication lag and switches to the primary if lag is too high.

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.

Edited by Michael Kozono

Merge request reports