Geo: Fix registry backfilling
What does this MR do and why?
Describe in detail what your merge request does and why.
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
This MR changes the behavior to:
- First execution of
RegistryConsistencyWorker
, it does create the row - Starts from beginning again
Resolves #370919 (closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Michael Kozono