In this case, it is probably OK to remove the lock file, since it is a one-time race.
After the first cache-writer is done, any amount of cache-readers can use the fully created caches.
The original problem was that cache-readers started to use partial caches before the cache-writer was done writing.
In this case, it is probably OK to remove the lock file, since it is a one-time race.
After the first cache-writer is done, any amount of cache-readers can use the fully created caches.
The original problem was that cache-readers started to use partial caches before the cache-writer was done writing.