forked from lix-project/lix
Robert Hensing
fb94d5cabd
Fixes #3898 The entire `BinaryCaches` row used to get replaced after it became stale according to the `timestamp` column. In a concurrent scenario, this leads to foreign key conflicts as different instances of the in-process `state.caches` cache now differ, with the consequence that the older process still tries to use the `id` number of the old record. Furthermore, this phenomenon appears to have caused the cache for actual narinfos to be erased about every week, while the default ttl for narinfos was supposed to be 30 days. |
||
---|---|---|
.. | ||
test-data | ||
derived-path.cc | ||
derived-path.hh | ||
libstore.hh | ||
local.mk | ||
machines.cc | ||
nar-info-disk-cache.cc | ||
outputs-spec.cc | ||
outputs-spec.hh | ||
path.cc | ||
path.hh | ||
references.cc |