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

add recovery scanning to BridgeWrapper

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.11.0
    • 4.10.0
    • Recovery, XTS
    • None

      The BridgeWrapper for managing subordinate XTS transactions allows for recovery where the id of the tx is known i.e. a log exists in the parent tx. "BridgeWrapper.recreate(String id)". However, it is also necessary to be able to scan for outstanding BridgeWrappers in recovery situations where no parent log exists and the id(s) are therefore unavailable. Furthermore, multiple applications may use the BridgeWrapper and must be able to distinguish which of the recovered instances they are responsible for. As they currently have no control over the structure of the id this is not feasible.

      Change BridgeWrapper API to include e.g.
      create(String prefix) // each app uses its own prefix so it can filter returned instances by id at recovery time.
      recreate(String id) // unchanged
      recoveryScan(String prefix) // return all in-doubt instances with matching prefix.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-jhallida Jonathan Halliday
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: