git-annex/Database
Joey Hess 5f9eff3f32
fix bug that prevented db being written to disk in SingleWriter mode
The bug occurred when closeDb was not called, and garbage collection of
the DbHandle didn't give the workerThread time to shut down. Fixed by
exiting the runSqlite action when a commit is made.

(MultiWriter mode already forked off a runSqlite action, so avoided the
problem.)

This commit was sponsored by Brock Spratlen on Patreon.
2017-09-18 19:42:20 -04:00
..
Keys refactor 2016-10-17 14:58:33 -04:00
Export.hs merge changes made on other repos into ExportTree 2017-09-18 19:21:41 -04:00
Fsck.hs fix consistency bug reading from export database 2017-09-06 17:19:07 -04:00
Handle.hs fix bug that prevented db being written to disk in SingleWriter mode 2017-09-18 19:42:20 -04:00
Init.hs Work around sqlite's incorrect handling of umask when creating databases. 2017-02-13 17:39:16 -04:00
Keys.hs fix consistency bug reading from export database 2017-09-06 17:19:07 -04:00
Queue.hs fix consistency bug reading from export database 2017-09-06 17:19:07 -04:00
Types.hs add ExportTree table to export db 2017-09-18 13:59:59 -04:00