Skip to content

Git maintenance scheduling impacting scalability of large repos. #592

@jambar42

Description

@jambar42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions