Closed infeo closed 11 months ago
Can we be sure they are effectively atomic (maybe due to path-based locking?)
With external path based locking, they are "atomic" from the outside. Unfortunately, we modify the filesystem by resolving conflicts when listing dirs. Hence, we could at the same time list a directory and get the attributes of a contained conflicting resource, which might lead to wrong data or IOErrors.
Closes #180.
I applied the workaround described in Caffeine wiki. Additonally, i checked all other spots where we use a
Cache
orLoadingCache
for recursive updates:None of the above do such recursive updates, hence i left them untouched.