Geo secondaries sometimes think that they are not
I noticed when testing in EE master, Geo::RepositorySyncWorker would run and quit early. I added debugging, and it appears that Gitlab::Geo.secondary? was returning false for some reason. At times, I noticed it ran fine later, though, leading to very periodic updates.
However, if I run Gitlab::Geo.secondary? from the Rails console, it worked fine.
Edited by Nick Thomas