Pkg.jl: Excessive writes to `manifest_usage.toml`

Created on 11 Feb 2020  路  2Comments  路  Source: JuliaLang/Pkg.jl

I instantiated a manifest (on Julia 1.3.1) and it added 9 entries (for the same manifest at very close timestamps) to .julia/logs/manifest_usage.toml.

I had a bunch of corrupted entries in there (probably from interrupting Pkg operations) which caused Pkg.gc() to fail, and it seems like maybe there would be fewer opportunities for corrupted entries if Pkg didn't write to that file so much.

(I first reported this on Slack).

bug

Most helpful comment

Yeah, and also handling corrption in the file better (trying to recover)

All 2 comments

It might be nice also if interrupt exceptions during these writes were handled somehow so as to not corrupt the toml file.

Yeah, and also handling corrption in the file better (trying to recover)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jlperla picture jlperla  路  3Comments

KristofferC picture KristofferC  路  4Comments

GregPlowman picture GregPlowman  路  3Comments

cossio picture cossio  路  3Comments

StefanKarpinski picture StefanKarpinski  路  3Comments