Geo: Fix registry backfilling

Problem

Example of the problem:

  • If the model table has rows with ID 1, 2, 3.
  • And the registry table has rows with foreign key ID 1, 2.
  • Then RegistryConsistencyWorker should create registry row with foreign key 3.

Instead, it does this:

  • First execution of RegistryConsistencyWorker, it does not create registry row with foreign key 3
  • Second execution of RegistryConsistencyWorker, it does create the row
  • Third execution it doesn't check anything
  • Starts from beginning again

It should do this:

  • First execution of RegistryConsistencyWorker, it does create the row
  • Starts from beginning again

There wasn't initially an issue. I first opened !87720 (merged).

So this issue will just be used to track verification of the change in a GET deployment.

Edited by Michael Kozono