Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
jtsk_2.1
-
None
-
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.