add todo
This commit is contained in:
parent
65a82e0d27
commit
4bc99e4c21
2 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 4"""
|
||||||
|
date="2019-05-06T18:46:21Z"
|
||||||
|
content="""
|
||||||
|
[[todo/only_allow_one_git_queue_to_be_flushed_at_a_time]]
|
||||||
|
"""]]
|
|
@ -0,0 +1,11 @@
|
||||||
|
A git queue is used when doing things that update .git/index.
|
||||||
|
If two git-annex processes are both building up a git queue and happen
|
||||||
|
to flush at the same time, one will fail due to git's locking of the index
|
||||||
|
file.
|
||||||
|
|
||||||
|
This doesn't affect multiple threads with --jobs; while threads have
|
||||||
|
individual git queues, inter-thread locking allows only one to flush
|
||||||
|
at a time. That locking is handled in `Annex.Queue.flush'` using a
|
||||||
|
semaphore.
|
||||||
|
|
||||||
|
Seems that it would be better to use a lock file. --[[Joey]]
|
Loading…
Reference in a new issue