Re: Can a git push over ssh trigger a gc/repack? Diagnosing pack explosion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Langhoff <martin.langhoff@xxxxxxxxx> writes:

> On Thu, Nov 21, 2013 at 10:21 AM, Martin Langhoff
> <martin.langhoff@xxxxxxxxx> wrote:
>> Do client pushes over git+ssh ever trigger a repack on the server?
>
> man git-config
> [snip]
>
>        receive.autogc
>            By default, git-receive-pack will run "git-gc --auto" after
>            receiving data from git-push and updating refs. You can stop it by
>            setting this variable to false.
>
> Oooooops!
>
> Ok, couple problems here:
>
>  - if it's receiving from many pushers, it races with itself; needs
> some lock or back-off mechanism

Surely.

I think these should help:

    64a99eb4 (gc: reject if another gc is running, unless --force is given, 2013-08-08)
    4c5baf02 (gc: remove gc.pid file at end of execution, 2013-10-16)

They should be in the upcoming v1.8.5.


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]