Failing batched migration BackfillProjectStatisticsStorageSizeWithRecentSize
In GitLab 16.7 (Heptapod 1.1), the repository size statistics are now being computed upstream with the recent_objects_size
method, whose distinction with the size
method does not translate well in Mercurial.
This causes problems, the most visible one being that the BackfillProjectStatisticsStorageSizeWithRecentSize
fails, bringing undue concern to operators.
It is also possible that update of statistics is stalled because of that.
We don't feel like implementing the full underlying HGitaly method in the now EOL Heptapod 1.1 series, but we can at least simply make #recent_objects_size
return the same thing as #size
: it is after all not really wrong and it will at least provide a proper migration landmark version Heptapod 1.1.3. We can then at least consider implementing the HGitaly method in the Heptapod 1.3 timeframe, probably starting with the same equation.