Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2463

Session replication broken: joining or removing node purges existing sessions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: No Release
    • Fix Version/s: 7.1.0.CR1
    • Component/s: Clustering
    • Labels:
      None
    • Environment:
      latest snapshot

      Description

      Session replication is broken. Joining or removing node seems to purge all existing sessions

      Simple test case,

      1. start 2 nodes in cluster
      2. create session on 1 node
      3. shutdown 2nd cluster node
      4. session is lost ;-(

      BLocks testing.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            rhusar Radoslav Husar added a comment -

            And probably because of this the session stickiness does not work (at all).

            Show
            rhusar Radoslav Husar added a comment - And probably because of this the session stickiness does not work (at all).
            Hide
            pferraro Paul Ferraro added a comment -

            Ah, found the issue: ISPN-1583
            I'll submit a pull request for a workaround shortly.

            Show
            pferraro Paul Ferraro added a comment - Ah, found the issue: ISPN-1583 I'll submit a pull request for a workaround shortly.
            Hide
            pferraro Paul Ferraro added a comment -

            To elaborate ISPN-1583 prevents flags from being applied to a cache operation, such that commands like:
            cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL).clear();
            end up clearing the whole cache instead of just the local node.
            Consequently, when we attempt to purge the sessions from the local cache on undeploy, the whole cache gets emptied.

            Show
            pferraro Paul Ferraro added a comment - To elaborate ISPN-1583 prevents flags from being applied to a cache operation, such that commands like: cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL).clear(); end up clearing the whole cache instead of just the local node. Consequently, when we attempt to purge the sessions from the local cache on undeploy, the whole cache gets emptied.
            Hide
            rhusar Radoslav Husar added a comment -

            Looks like workaround for this introduced AS7-2912.

            Show
            rhusar Radoslav Husar added a comment - Looks like workaround for this introduced AS7-2912 .

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                rhusar Radoslav Husar
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development