Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-272

Implement XA recovery in TransactionXaAdapter

    Details

    • Estimated Difficulty:
      Medium

      Description

      We currently don't support any sort of recovery from transaction failures.
      E.g.
      tm.start();
      database.delete(account);
      ispnCache.put(account);
      tm.commit():
      At tm commit:
      -prepare is successful on both enlisted resources.

      • database.commit - fails
        What shall we do with the locks/state from ispnCache.
        Possible solutions:
      • configure to automatically commit/rollback after a timeout
      • keep locks on resources and allow manual intervention through JMX
      • others?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mircea.markus Mircea Markus
                Reporter:
                mircea.markus Mircea Markus
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: