[jbossts-issues] [JBoss JIRA] (JBTM-3250) LRA caches ids of LRAs but this cache can become stale in cloud native environments
Thomas Jenkinson (Jira)
issues at jboss.org
Wed Feb 5 12:25:35 EST 2020
[ https://issues.redhat.com/browse/JBTM-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Jenkinson updated JBTM-3250:
-----------------------------------
Component/s: LRA
> 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
> 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