Jordan Galby
6c12630e95
Optimize concurrent misc_cache provider index rebuild ( #32874 )
...
When concurrent misc_cache provider index rebuilds happen, try to
rebuild it only once, so we don't exceed misc_cache lock timeout.
For example, when using `spack env depfile`, with no previous
misc_cache, running `make -f depfile -j8` could run at most 8 concurrent
`spack install` locking on misc_cache to rebuild the provider index. If
one rebuild takes 30s, before this fix, the "worst" lock could wait up
to 30s * 7, easily exceeding misc_cache lock timeout. Now, the "worst"
lock would take 30s * 1 + ~1s * 6.
2022-10-05 06:01:59 -06:00
..
2022-10-05 11:57:37 +00:00
2022-10-04 10:56:46 -07:00
2022-08-17 13:57:13 +02:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-30 20:56:53 +00:00
2022-07-31 13:29:20 -07:00
2022-08-10 10:00:33 +02:00
2022-08-04 20:48:05 +00:00
2022-07-31 13:29:20 -07:00
2022-08-23 00:52:48 -07:00
2022-08-23 00:52:48 -07:00
2022-09-30 20:56:53 +00:00
2022-10-04 13:06:50 -07:00
2022-09-30 20:56:53 +00:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-01 08:21:12 +02:00
2022-09-26 00:01:42 -07:00
2022-10-02 17:44:05 -07:00
2022-10-04 13:06:50 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-01 15:29:44 -06:00
2022-07-31 13:29:20 -07:00
2022-09-30 20:56:53 +00:00
2022-08-30 11:13:23 -07:00
2022-09-14 13:02:51 -07:00
2022-08-02 11:43:14 -07:00
2022-07-31 13:29:20 -07:00
2022-08-11 14:20:17 +02:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-26 00:01:42 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-16 00:57:10 +00:00
2022-08-23 00:52:48 -07:00
2022-09-29 13:48:06 -05:00
2022-09-07 20:12:57 +02:00
2022-08-11 16:51:01 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-13 10:28:29 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-06-09 07:45:49 +02:00
2022-09-26 22:47:45 +00:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-26 00:01:42 -07:00
2022-10-05 06:01:59 -06:00
2022-08-23 00:52:48 -07:00
2022-07-31 13:29:20 -07:00
2022-01-14 22:50:21 -08:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-01 11:04:01 -07:00
2022-09-16 00:57:10 +00:00
2022-08-30 11:13:23 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-07-31 13:29:20 -07:00
2022-09-26 00:01:42 -07:00
2022-08-11 09:33:08 -05:00
2022-09-21 19:22:58 +02:00
2022-07-31 13:29:20 -07:00
2022-09-23 11:17:01 -07:00