Re: [PATCH v2] maintenance: improve handling of lock acquisition failures
- From
- Aniket Gupta <aniketgupta3001@gmail.com>
- Date
- Nov 4, 2026, 18:00 UTC
- Message-ID
- <20261104180006.404-1-aniketgupta3001@gmail.com>
- In-Reply-To
- <20261102122955.143018-2-pushkarkumarsingh1970@gmail.com>
Hi Pushkar,
I tried v2 while another maintenance run was holding the lock. The scheduled background runs, the ones set up by "git maintenance start", now exit with an error instead of 0. Two overlapping runs end in a failure where master just skips them and the docs say it is normal.
Also, running the prefetch task by hand now prints a lock warning and I think it comes from the fetch it starts internally.
Thanks, Aniket