IndexedCacheBackedFileAccessTimeJournalTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use separate cache for file access time journal

Storing a file access time journal inside each cache causes a lot of

contention in particular with caches that require a lot of exclusive

access like the artifact cache.

Instead, a new `journal-1` cache that is managed by a user-home-scoped

service is now used to keep track of file access times for all caches

that want to use it.

    • -64
    • +0
    ./IndexedCacheBackedFileAccessTimeJournalTest.groovy
  1. … 23 more files in changeset.
Write access time asynchronously, read synchronously

File access times are now written asynchronously while the cache is

being used. When it's about to be closed, they are now read

synchronously from the cleanup action because the cache access worker

has then already been stopped.

    • -0
    • +64
    ./IndexedCacheBackedFileAccessTimeJournalTest.groovy
  1. … 31 more files in changeset.