[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 Jul 21 07:21:01 EDT 2020


     [ https://issues.redhat.com/browse/JBTM-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove reassigned JBTM-3250:
--------------------------------------

    Assignee: Michael Musgrove


> 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
>          Components: LRA
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>            Priority: Major
>
> 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