Geo: Percentage larger than 100% in /admin/geo/nodes screen

Summary

When displaying the sync status in Sync settings in the /admin/geo/nodes screen, the percentage bar can display valuaes larger than 100%.

Steps to reproduce

N/A

Example Project

N/A

What is the current bug behavior?

When syncing, the percentage bar gitters around +1/-1% and can display a total larger than 100%

What is the expected correct behavior?

When not all repositories are synced, the percentage should be lower than 100%. When complete percentage should be exactly 100%. The percentage should never be larger than 100%

Relevant logs and/or screenshots

image001

Output of checks

Results of GitLab environment info

N/A

Results of GitLab application Check

N/A

Possible fixes