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

Session invalidation can leave orphaned cache entries for non-tx caches if terminated mid expiration

XMLWordPrintable

      Currently, removal of session entries occurs in the order they were created:

      1. Session creation metadata
      2. Session access metadata
      3. Session attribute entries

      However, if the invalidation process is terminated unexpected, either because of WFLY-14861 or server crash (JVM kill), this can result in orphaned cache entries if the backing cache is non-transactional.

      Removing these entries in reverse order solves this problem.

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

                Created:
                Updated:
                Resolved: