added question: creating locks during --batch operations
authorIlya_Shlyakhter <Ilya_Shlyakhter@web>
Thu, 20 Feb 2020 21:00:45 +0000 (21:00 +0000)
committeradmin <admin@branchable.com>
Thu, 20 Feb 2020 21:00:45 +0000 (21:00 +0000)
doc/forum/locks_during_--batch_operations.mdwn [new file with mode: 0644]

diff --git a/doc/forum/locks_during_--batch_operations.mdwn b/doc/forum/locks_during_--batch_operations.mdwn
new file mode 100644 (file)
index 0000000..360a4cb
--- /dev/null
@@ -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.