[jboss-jira] [JBoss JIRA] (WFLY-11882) Mutable getAttribute(...) and setAttribute(...) combination triggers redundant cache operation when using ATTRIBUTE granularity distributed web sessions with a transactional cache

Paul Ferraro (Jira) issues at jboss.org
Wed Mar 20 17:55:00 EDT 2019


Paul Ferraro created WFLY-11882:
-----------------------------------

             Summary: Mutable getAttribute(...) and setAttribute(...) combination triggers redundant cache operation when using ATTRIBUTE granularity distributed web sessions with a transactional cache
                 Key: WFLY-11882
                 URL: https://issues.jboss.org/browse/WFLY-11882
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 16.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


When using a transactional cache with ATTRIBUTE granularity, the following code triggers a redundant cache operation upon request completion:

session.getAttribute("a");
session.setAttribute("a", new AtomicInteger());

or

session.setAttribute("a", new AtomicInteger());
session.getAttribute("a");



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list