Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5051

Requests for persistent sessions always trigger replication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Beta1
    • 10.0.0.Alpha6
    • Clustering
    • None

      For persistent sessions, we trigger session session activation events after a successful SessionManager.findSession(...). However, this is currently triggered using a Session instance, instead of an ImmutableSession instance, which causes iteration over session attributes to trigger replication of the session at the end of the request - even when the user does not access any mutable session attributes.

      The same is true for Session.close() (via session passivation event).

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: