git-annex/Database
Joey Hess 195508fc65
Improve error message when unable to read a sqlite database due to permissions problem
Old message was:

sqlite query crashed: thread blocked indefinitely in an MVar operation

New message is eg:

sqlite worker thread crashed: SQLite3 returned ErrorCan'tOpen while attempting to perform open ".git/annex/keysdb/db".

The worker thread used to throw an exception. But before that
exception was seen by anything waiting on the worker thread to
finish, the takeMVar in queryDb would have crashed with
BlockedIndefinitelyOnMVar.

Sponsored-by: k0ld on Patreon
2023-02-23 15:28:22 -04:00
..
Keys use insert_ for speed improvement 2022-12-26 15:59:41 -04:00
Benchmark.hs eliminate single/multi writer distinction 2021-10-20 12:26:30 -04:00
ContentIdentifier.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Export.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Fsck.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Handle.hs Improve error message when unable to read a sqlite database due to permissions problem 2023-02-23 15:28:22 -04:00
Init.hs use a subdirectory of annex.dbdir 2022-08-12 13:18:15 -04:00
Keys.hs Revert "revert recent bug fix temporarily for release" 2023-02-14 14:11:23 -04:00
Queue.hs fix MVar deadlock when sqlite commit fails 2022-06-06 12:16:55 -04:00
Types.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00