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

Mutations following HttpSession.setAttribute(...) lost on failover when using SESSION granularity distributed web session with a non-transactional cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 17.0.0.Final
    • 16.0.0.Final
    • Clustering
    • None

      Consider the following code:

      AtomicInteger value = new AtomicInteger(1);
      session.setAttribute("a", value);
      value.incrementAndGet();

      On failover, the value of attribute "a" will still be 1.

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

                Created:
                Updated:
                Resolved: