Skip to content
  • Joey Hess's avatar
    v8 upgrade of keys db · dc929501
    Joey Hess authored
    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.
    dc929501