-
Committer:
Bernhard M. Wiedemann
-
Date:
2017-05-18 19:09:18 UTC
-
Revision ID:
bmwiedemann+bzrcommit@suse.de-20170518190918-1yl1fhuqk7pmf93y
Avoid a race where some processes try to use a partial cache file
that is still being written to.
Note that we release the lock before load_cache,
because if we got the lock, the cache is already completely written
and it is OK to have multiple parallel readers
Without this patch, translation files would randomly miss translations
for some or all languages.
fixes bug #1687644
maybe also bug #986897