Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2020-02-20 17:32:33 -04:00
commit c93824d7f4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Are there locks that git-annex holds for the entirety of e.g. `git-annex-get --batch`?
As part of [[forum/auto-fetching_annexed_files_on_open__40____41__]], I'd like to keep one or more long-running `git-annex-get --batch` processes and pipe the keys I need fetched as needed, rather than start a new git-annex process for each key. But, this only makes sense if, while waiting to read more keys from stdin, git-annex is no holding locks that could interfere with other git-annex calls.

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="running parallel commands with xargs"
date="2020-02-20T20:48:33Z"
content="""
\"How would running parallel commands with xargs be better than the current -J\" -- it would allow writing wrappers that kill/retry stuck git-annex process trees, as suggested [[here|https://git-annex.branchable.com/todo/more_extensive_retries_to_mask_transient_failures/#comment-209f8a8c38e63fb3a704e1282cb269c7]].
"""]]