diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-04-12 22:14:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 13:14:59 -0700 |
commit | 7e46da73dd8e4d81fac454f40ca2d616612595b7 (patch) | |
tree | 11f2aab977bbe6e784170a737c602e179a168e55 /bin | |
parent | 9209af950a103d2679aa34d2a4ecee0253197710 (diff) | |
download | spack-7e46da73dd8e4d81fac454f40ca2d616612595b7.tar.gz spack-7e46da73dd8e4d81fac454f40ca2d616612595b7.tar.bz2 spack-7e46da73dd8e4d81fac454f40ca2d616612595b7.tar.xz spack-7e46da73dd8e4d81fac454f40ca2d616612595b7.zip |
database: maintain in-memory consistency on remove (#15777)
The performance improvements done in #14693 where leaving the DB in an inconsistent state when specs were removed from it. This PR updates the DB internal state whenever the DB is written to a file.
Note that we still cannot properly enumerate installed dependents, so there is a TODO in this code. Fixing that will require the dependents dictionaries in specs to be re-keyed (either by hash, or not keyed at all -- a list would do). See #11983 for details.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions