v8 upgrade of keys db
Renamed the database to .git/annex/keysdb; the old .git/annex/keys gets deleted during the upgrade. It is possible that an old git-annex process is running during the upgrade. If so, it will be able to continue using the old keys db until the upgrade is complete, and then will presumably fail in some ugly way. Or perhaps the upgrade will be unable to delete the open files on some systems, and so fail with an ugly error message. It's also possible for multiple processes to be running the upgrade concurrently. That should be fine; they will both write the same information into the keys db. Other databases still need to be upgraded.
This commit is contained in:
parent
09ee6b0ccb
commit
dc9295017f
6 changed files with 100 additions and 6 deletions
|
@ -24,6 +24,7 @@ module Git.LsFiles (
|
|||
Unmerged(..),
|
||||
unmerged,
|
||||
StagedDetails,
|
||||
inodeCaches,
|
||||
) where
|
||||
|
||||
import Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue