[jbossts-issues] [JBoss JIRA] (JBTM-3250) LRA caches ids of LRAs but this cache can become stale in cloud native environments

Michael Musgrove (Jira) issues at jboss.org
Tue Feb 4 12:40:52 EST 2020


Michael Musgrove created JBTM-3250:
--------------------------------------

             Summary: LRA caches ids of LRAs but this cache can become stale in cloud native environments
                 Key: JBTM-3250
                 URL: https://issues.redhat.com/browse/JBTM-3250
             Project: JBoss Transaction Manager
          Issue Type: Enhancement
            Reporter: Michael Musgrove


The LRA implementation [caches active and recovering LRAs|https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator-jar/src/main/java/io/narayana/lra/coordinator/domain/service/LRAService.java#L60]. But this cache can become stale is cloud native environments. Since an LRA is always stored in our logs from the moment of creation until successful completion a better option would be to always read the current list from the logs. This approach will facilitate use of the implementation in environments where coordinators come and go.




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list