update
This commit is contained in:
parent
50797ee2c5
commit
3f449f845e
2 changed files with 8 additions and 4 deletions
|
@ -157,7 +157,7 @@ adjustExportImport r = case M.lookup "exporttree" (config r) of
|
|||
Just newcid -> do
|
||||
liftIO $ ContentIdentifier.recordContentIdentifier db (uuid r') newcid k
|
||||
recordContentIdentifier (uuid r') newcid k
|
||||
return True
|
||||
return True
|
||||
, removeExport = \k loc -> do
|
||||
db <- getciddb ciddbv
|
||||
removeExportWithContentIdentifier (importActions r') k loc
|
||||
|
|
|
@ -10,9 +10,13 @@ this.
|
|||
|
||||
## implementation notes
|
||||
|
||||
* getknowncids should run "updateexportdb exportdb exportdbv"
|
||||
to make sure it sees the most current data,
|
||||
but that leads to a STM deadlock for some reason?
|
||||
* getknowncids needs to update the export db when the git-annex branch is
|
||||
newer, otherwise it can miss the most recent information
|
||||
|
||||
Note that updating the db needs to write lock it.
|
||||
|
||||
* Remote.Helper.ExportImport calls recordContentIdentifier on a database
|
||||
that is not write locked.
|
||||
|
||||
* Need to support annex-tracking-branch configuration, which documentation
|
||||
says makes git-annex sync and assistant do imports.
|
||||
|
|
Loading…
Add table
Reference in a new issue