Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3397

Ensure that LRA uses the features provided by ArjunaCore

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.11.0.Final
    • 5.10.6.Final
    • LRA
    • None
    • Undefined

    Description

      The narayana implementation of LRA does not follow some of the expectations of ArjunaCore:

      1. Rename Transaction to LongRunningAction and extend BasicAction (it doesn't need anything from TwoPhaseCoordinator or AtomicAction) and make sure the type name matches the usual convention (ie it should follow the type hierarchy)
      2. Do not override BasicAction#end
      3. Remove the confusing comment in LRARecord#value()
      4. Do not duplicate functionality of BasicAction#Current()
      5. Do not duplicate StateManager.get_uid()

       

      There are two more changes that I will raise separate JIRAs for (and link them to this one):

      6. Don't use RecordType.USER_DEF_FIRST0 for LRA participants

      7. Use the support in ArjunaCore for managing nested LRAs.

       

      Attachments

        Activity

          People

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: