mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 20:51:00 +01:00
* Conversion to a BDB-free store. Meta-information for each valid
path (content hash, references, deriver) is now stored in /nix/var/nix/db/meta/<base-path>.info. The referrers are stored separately in /nix/var/nix/db/meta/<base-path>.referrers. This is done because the referrers can change, which the info file is in principle immutable. The referrers must also be updated efficiently to prevent a regression of NIX-23 (quadratic complexity updating the referrers during garbage collection). This is just the conversion code, the rest of the code still uses BDB.
This commit is contained in:
parent
f5e6c9bcfd
commit
91313011f9
2 changed files with 90 additions and 14 deletions
|
|
@ -14,8 +14,8 @@ class Transaction;
|
|||
|
||||
/* Nix store and database schema version. Version 1 (or 0) was Nix <=
|
||||
0.7. Version 2 was Nix 0.8 and 0.9. Version 3 is Nix 0.10.
|
||||
Version 4 is Nix 0.11. */
|
||||
const int nixSchemaVersion = 4;
|
||||
Version 4 is Nix 0.11. Version 5 is Nix 0.12*/
|
||||
const int nixSchemaVersion = 5;
|
||||
|
||||
|
||||
extern string drvsLogDir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue