Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-65

When can a TransactionManager give up on a commit?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • jtsk_2.1
    • None
    • com_sun_jini_mahalo
    • None
    • 4251161

    Description

      Bugtraq ID 4251161

      According to TX.2.7 a TransactionManager can only giveup on notifing a particpate of a commited transaction if it gets back UnkownTransactionException or NoSuchObjectException. Might also think giving up would be acceptable after
      various Errors and RuntimeExceptions.

      In a related mater the language in TX.2.6 does not make it clear that a particpate can drop out of a transaction it has prepared if it gets a NoSuchObjectExcpetion or a UnkownTransactionException (again what about Errors and RuntimeExceptions?)

      Should add "definite exception" language to the discussion of when a manager/participant can release resources.

      Participant language should be added for abandoning the prepared case as well.
      For example, participant1 votes PREPARED, but participant2 votes to ABORT and
      the manager gives up notifying participant1 to abort. When participant1 queries
      the manager with getState() and it receives an UnknownTransaction, it should be
      able to release it's "prepared" state.

      Attachments

        Activity

          People

            Unassigned Unassigned
            resendes Robert Resendes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: