fix STM crash

git-annex: thread blocked indefinitely in an STM transaction
failed

git-annex: sqlite query crashed
CallStack (from HasCallStack):
  error, called at ./Database/Handle.hs:98:42 in main:Database.Handle
failed

This needs further investigation.
This commit is contained in:
Joey Hess 2019-03-05 16:29:22 -04:00
parent 46d33e804a
commit dc278c059c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 20 additions and 12 deletions

View file

@ -10,6 +10,11 @@ this.
## implementation notes
* tracking branch is updated after a failed export, should not be
* getknowncids should run "updateexportdb exportdb exportdbv",
but that leads to a STM deadlock for some reason?
* Check conflict behavior for both conflicting edits to existing file,
and conflicting new files. Note need to check both sequences
import,export and export,import.