git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] maintenance: improve handling of lock acquisition failures

From
AGAniket 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

Previous: Pushkar Singh
Message 13 of 13 in “maintenance: trace when auto maintenance skips due to lock”
  1. maintenance: trace when auto maintenance skips due to lockPushkar Singh, Nov 1, 2026
  2. Patrick SteinhardtNov 2, 2026
  3. Pushkar SinghNov 2, 2026
  4. maintenance: improve handling of lock acquisition failuresPushkar Singh, Nov 2, 2026
  5. Patrick SteinhardtNov 2, 2026
  6. Pushkar SinghNov 3, 2026
  7. 0/2 maintenance: improve lock acquisition failure handlingPushkar Singh, Nov 4, 2026
  8. 1/2 maintenance: report lock acquisition failuresPushkar Singh, Nov 4, 2026
  9. 2/2 maintenance: trace lock acquisition failuresPushkar Singh, Nov 4, 2026
  10. 0/2 maintenance: improve lock acquisition failure handlingPushkar Singh, Nov 18, 2026
  11. 1/2 maintenance: handle lock acquisition failures correctlyPushkar Singh, Nov 18, 2026
  12. 2/2 maintenance: trace lock acquisition failuresPushkar Singh, Nov 18, 2026
  13. Aniket GuptaNov 4, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.