Geo: Wrong project statistics after clone
From https://gitlab.slack.com/archives/C101F3796/p1536271858000100:
It looks like the project statistics only showed 3.4 GB, but in actuality it was taking 222 GB. The last push was 3 months ago.
This could have happened in multiple ways:
- Project was synched by Geo, but the size got bigger because we had a lot of loose objects (this repository had lots of these).
- The statistics were wrong to begin with, and we never refreshed since there were no pushes.
We may want to consider:
- Periodically refreshing the project statistics, especially for projects that have not received in a push in a while.
- After a failover/switchover, do a full refresh of project statistics.
Edited by Stan Hu