add debugLocks around database operations
authorJoey Hess <joeyh@joeyh.name>
Fri, 3 Jun 2022 18:10:24 +0000 (14:10 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 3 Jun 2022 18:16:28 +0000 (14:16 -0400)
commit09edb07ac5982edc8fe2987a8b477405fe9f982b
tree6ac539f6575baed128fd3a5e03c2168d07b31e04
parentd6dfaa8d0f2b96f2be7744c7b0ecddfe152dd6a1
add debugLocks around database operations

to track down a blocked indefinitely on MVar that seems to occur after
sqlite throws ErrorBusy but that I have not been able to reproduce when
I made commits synthetically throw ErrorBusy.

Sponsored-by: Dartmouth College's Datalad project
Database/Handle.hs
Database/Keys/Handle.hs
Database/Queue.hs
Makefile
doc/bugs/get_is_busy_doing_nothing/comment_13_bdfbcb8b6052a3c904e46678fce6adeb._comment [new file with mode: 0644]