diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-04-12 22:14:59 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-04-15 12:47:16 -0700 |
commit | 55f5afaf3c5369ef80d111f2323da5bb496abc9d (patch) | |
tree | bdfce93716aa6c90eb1a022432ba6ae7fd140ef6 /LICENSE-MIT | |
parent | 6b559912c1deb47820cf8bce10028c770adaf5b8 (diff) | |
download | spack-55f5afaf3c5369ef80d111f2323da5bb496abc9d.tar.gz spack-55f5afaf3c5369ef80d111f2323da5bb496abc9d.tar.bz2 spack-55f5afaf3c5369ef80d111f2323da5bb496abc9d.tar.xz spack-55f5afaf3c5369ef80d111f2323da5bb496abc9d.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 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions