git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Races on ref .lock files?
@ 2016-12-16 16:47 Andreas Krey
  2016-12-16 17:20 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Krey @ 2016-12-16 16:47 UTC (permalink / raw)
  To: git

Hi all,

We're occasionally seeing a lot of 

  error: cannot lock ref 'stash-refs/pull-requests/18978/to': Unable to create '/opt/apps/..../repositories/68/stash-refs/pull-requests/18978/to.lock': File exists.

from the server side with fetches as well as pushes. (Bitbucket server.)

What I find strange is that neither the fetches nor the pushes even
touch these refs (but the bitbucket triggers underneath might).

But my question is whether there are race conditions that can cause
such messages in regular operation - they continue with 'If no other git
process is currently running, this probably means a git process crashed
in this repository earlier.' which indicates some level of anticipation.

- Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-21 21:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-16 16:47 Races on ref .lock files? Andreas Krey
2016-12-16 17:20 ` Junio C Hamano
2016-12-16 23:34   ` Bryan Turner
2016-12-21  8:33     ` Andreas Krey
2016-12-21 10:00   ` Andreas Krey
2016-12-21 21:08     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).