Ludovic Courtès
d921c742b7
cache: Avoid cache cleanup storms from concurrent processes.
...
Reported by Christopher Baines <guix@cbaines.net>.
* guix/cache.scm (maybe-remove-expired-cache-entries): Define
‘expiry-port’; create it with ‘lock-file’. Change ‘last-expiry-date’
accordingly. Write timestamp straight to ‘expiry-port’.
* tests/cache.scm ("maybe-remove-expired-cache-entries, cleanup needed
but lock taken"): New test.
Change-Id: I22441d9d2c4a339d3d3878de131864db5a0ae826
2024-08-21 00:52:39 +02:00
..
2024-08-21 00:52:38 +02:00
2024-07-26 19:21:33 +02:00
2024-08-17 13:23:57 +02:00
2024-04-17 12:13:02 +02:00
2024-07-23 16:27:27 +02:00
2024-05-25 16:44:42 +02:00
2024-03-09 18:55:50 +01:00
2024-08-21 00:52:39 +02:00
2024-07-18 11:18:29 +01:00
2024-07-23 16:24:38 +02:00
2024-03-07 13:04:27 +02:00
2024-03-09 18:55:50 +01:00
2023-12-22 17:47:15 +01:00
2024-04-15 22:36:42 +02:00
2024-03-19 17:02:14 +01:00
2024-04-15 22:36:42 +02:00
2024-01-08 21:04:44 +03:00
2024-04-15 22:36:42 +02:00
2024-04-08 00:05:48 +02:00
2024-06-11 11:33:43 +01:00
2024-07-18 17:31:19 +02:00
2023-12-03 23:55:08 +01:00
2024-07-23 16:27:27 +02:00
2024-06-12 09:45:44 +02:00
2024-07-18 11:18:29 +01:00
2023-12-22 00:31:41 +01:00
2024-06-26 15:08:51 +01:00
2024-07-18 17:31:19 +02:00
2023-12-04 22:26:38 +01:00
2024-04-15 22:36:42 +02:00
2024-07-23 18:09:35 +03:00
2023-12-11 13:50:48 +02:00
2024-05-29 22:01:23 -04:00
2023-11-25 16:29:25 +01:00
2024-01-09 09:38:38 +02:00
2024-05-04 19:14:24 +02:00
2024-04-15 22:36:42 +02:00
2024-07-02 10:19:52 +02:00
2024-04-04 15:48:47 +02:00
2024-07-18 11:18:25 +01:00
2024-06-11 11:33:22 +01:00
2024-06-26 23:56:56 +02:00
2024-08-01 10:32:31 +01:00
2024-06-11 12:39:44 +03:00
2024-07-15 22:34:24 +01:00
2024-02-19 11:44:47 +01:00
2024-04-15 22:36:42 +02:00