remove unncessary locking of ContentIdentifier db

Remote.Helper.ExportImport only reads from it, and locking is only
needed when writing.
This commit is contained in:
Joey Hess 2019-03-06 14:35:16 -04:00
parent c0bd202147
commit b3d30e7d70
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 5 additions and 16 deletions

View file

@ -21,14 +21,6 @@ this.
and conflicting new files. Note need to check both sequences
import,export and export,import.
* Should the ContentIdentifier db be multiwriter? It would simplify
the situation with the long-lived lock of it in adjustExportImport
OTOH, if a single process, such as the assistant, exported one tree,
and then another, multiwriter would mean no guarantee that reading
from the contentidentifier database would see values that were earlier
written by the same process.
* Need to support annex-tracking-branch configuration, which documentation
says makes git-annex sync and assistant do imports.