Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jta-dev] Rationale for preventing registration of a Synchronization in rollback only state?

Hello; what is the rationale for preventing the registration of a synchronization in a transaction/registry that has been marked for rollback?

(Does a transaction that is marked for rollback constitute an "active transaction context"? I guess it must not here? What "active" means has been discussed before; sometimes it does mean "active or marked for rollback" but not here apparently.)

I do understand the big picture, i.e. that a Transaction that is marked for rollback is doomed. But is there some actual harm I'm overlooking that registering a synchronization while the Transaction is in this state would incur?

Best,
Laird

Back to the top