-
Bug
-
Resolution: Done
-
Major
-
13.0.15.Final
-
None
Infinispan's Spring integration provides a Spring Session integration using Infinispan's Cache as the backend storage. However, concurrent requests for the same session lead to lost session attributes (see steps to reproduce).
A similar issue has been reported against the MapSessionRepository in Spring Session: https://github.com/spring-projects/spring-session/issues/1849. As noted on that issue, other built-in Spring Session backends do not have the same issue because they track changes made to the session rather than overwriting the whole session. See HazelcastIndexedSessionRepository for an example implementation.
Infinispan's Spring Session implementation should be updated to track changes to the session rather than overwriting the whole session.