Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
Background
Currently Compensations API cannot handle system failures. Transaction state is not persisted in any stage. Thus no handlers will be invoked in case of the system crash.
Requirements
- Make handlers persistable (CompensationHandler, ConfirmationHandler, TransactionLoggedHandler).
- Require Serializable interface.
- Create PersistableHandler interface (similar to PersistableParticipant in RTS integration).
- Make participant persistable (ParticipantImpl, LocalParticipant, RemoteParticipant).
- Make transaction identifier persistable (converting it to String should work).
- Implement PersistableParticipant in ParticipantImpl.
- Investigate if PARTICIPANT_COUNTERS in ParticipatnImpl have to be updated.
- Make compensation scoped beans persistable.
Attachments
Issue Links
- is blocked by
-
JBTM-2782 XTS crash recovery test Byteman rules use wrong variable types
- Closed
-
WFLY-7304 Compensations subsystem
- Closed
- is related to
-
JBTM-2794 Javadoc compensations framework
- Reopened
-
WFLY-11421 Correct the compensations framework dependency to be for the XTS subsystem
- Closed