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

Re: Error: failed to store: -25299

From
Jeff King <peff@peff.net>
Date
May 10, 2024, 22:13 UTC
Message-ID
<20240510221323.GA1971112@coredump.intra.peff.net>
In-Reply-To
<CAKkAvazeFvCfT7tZm3emwA=k-NnzPD7X0v4t2E9Ja4r-GpZfoQ@mail.gmail.com>
On Fri, May 10, 2024 at 03:52:25PM +0800, ryenus wrote:
Show 7 quoted lines
> Command I run: `parallel git -C {} fetch ::: repo1 repo2 rep3`, which is
> to fetch multiple repositories in parallel using GNU parallel.
> 
> This worked pretty well for me in the past, however with git version
> 2.45, maybe 2.44 as well, it would randomly emit below error:
> 
> > failed to store: -25299
There's some related discussion over in:
  https://lore.kernel.org/git/pull.1729.git.1715328467099.gitgitgadget@gmail.com/
But most curious to me is:
> But if I do this without GNU parallel, or `parallel -j1` with only
> one worker, things work just fine.
> And when I switched back to git 2.43.2, I don't see such error either.

I would have assumed this was an issue going back to 2011, since each of those fetches is going to try storing the successful credential. But if older-but-recent versions of Git did not have the problem, it could be that we are being more aggressive about invoking storage for some reason. Can you bisect?

The obvious recent changes to the credential code were brian's capability/state series, but those are not yet in a released version (and from a quick scan I did not see anything that would obviously change things there).

-Peff
Previous: ryenusNext: brian m. carlson
Message 2 of 6 in “Error: failed to store: -25299”
  1. ryenusMay 10, 2024
  2. Jeff KingMay 10, 2024
  3. brian m. carlsonMay 10, 2024
  4. ryenusMay 13, 2024
  5. Koji NakamaruMay 13, 2024
  6. ryenusMay 22, 2024

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.