You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The underlying cause is that PersistentEntitiesResourceMappings.exportsTopLevelResourceFor iterates over the cache. ConcurrentReferenceHashMap evicts both, keys and values. Since iteration over the value set does not trigger any lazy computation, exportsTopLevelResourceFor returns always false. We should switch to ConcurrentHashMap to avoid this effect and avoid re-computation of paths since repositories/entity types cannot be removed during runtime
So good to hear this solution, Mark! This issue kept my team and me busy for the last 4 days since we've upgraded to Boot 2.2.6 and we were really racked with self-doubt due to the intermittent behavior of DATAREST-1489.
Glad you could solve this that fast. Keep up this excellent work!
We stumbled on this issue too after upgrading from Spring Boot 2.2.4 to 2.2.6. We are rolling back waiting for SDR 3.2.7. Is there already a date for the release ?
Mark Paluch opened DATAREST-1502 and commented
Affects: 3.2.6 (Moore SR6), 3.3 RC1 (Neumann)
Issue Links:
("is duplicated by")
("is duplicated by")
("is duplicated by")
("is duplicated by")
Backported to: 3.2.7 (Moore SR7)
The text was updated successfully, but these errors were encountered: