Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git maintenance scheduling impacting scalability of large repos. #592

Closed
jambar42 opened this issue Aug 1, 2023 · 1 comment · Fixed by #597
Closed

Git maintenance scheduling impacting scalability of large repos. #592

jambar42 opened this issue Aug 1, 2023 · 1 comment · Fixed by #597

Comments

@jambar42
Copy link

jambar42 commented Aug 1, 2023

git/builtin/gc.c

Line 2050 in 0e35ce9

"<StartBoundary>2020-01-01T01:00:00</StartBoundary>\n"

Currently the git maintenance tasks scheduling on Windows machines all have a common start time and repeat scheduling. In large repositories with thousands of downstream clones, this results in every local repo clone running maintenance tasks simultaneously, which is negatively impacting the backend infrastructure.

Suggestion: Change these scheduling triggers to be at startup or at logon and then repeat at the normal cadence (hourly, daily, weekly) indefinitely, in order to stagger the maintenance tasks triggering.

@dscho dscho linked a pull request Aug 14, 2023 that will close this issue
1 task
@dscho
Copy link
Member

dscho commented Aug 14, 2023

See gitgitgadget#1567 and #597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants