-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Maintenance 2, Maintenance 3, Maintenance 4
-
1
info.magnolia.imaging.caching.CachingImageStreamerRepositoryTest#requestForSimilarUncachedImageOnlyGeneratesItOnce started to fail after I recreated the jobs. It doesn't seem to be random, nor an easy fix.
—
Did investigate and I guess I found the cause. The test reveals a possible race condition where a thread tries to fetch a generated cached image before the latter is properly stored in JCR (see also https://git.magnolia-cms.com/projects/MODULES/repos/imaging/browse/magnolia-imaging/src/main/java/info/magnolia/imaging/caching/CachingImageStreamer.java#187)
Acceptance criteria