Git Push/Pull/Fetch "stuck" after project delete (OD-2169)
empinator opened 1 year ago

When we do some heavy lifting on OneDev, sometimes the service gets stuck and

this happens in particular after a random project was deleted after that users can no longer perform any git operation with any git project through the server, like push, pull, fetch

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
fatal: expected flush after ref listing

please find a thread dump attached: jstack

a reboot resolves the issue

  • Robin Shen commented 1 year ago

    From the stack trace, OneDev is busy on analyzing commit history of all repositories, as a recent OneDev version changed the commit cache format, and forced to reanalyze all commits.

    Due to this, other cpu intensive tasks such as git pull/push are blocked in order not to overload the server. Please wait for some time, and git pull/push should be fine after commits are analyzed.

  • Robin Shen commented 1 year ago

    Also you may change number of cpu instensive tasks via Administration / Performance Settings.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2169
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover