[jbossts-issues] [JBoss JIRA] (JBTM-1107) Recovery Support in Compensation API

Gytis Trikleris (JIRA) issues at jboss.org
Thu Jul 7 07:47:00 EDT 2016


     [ https://issues.jboss.org/browse/JBTM-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gytis Trikleris updated JBTM-1107:
----------------------------------
    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.


  was:
Currently Compensations API cannot handle system failures. Transaction state is not persisted in any stage. Thus no handlers would be invoked in case of the system crash.
In addition, @CompensationScoped beans should be available during the recovery.




> Recovery Support in Compensation API
> ------------------------------------
>
>                 Key: JBTM-1107
>                 URL: https://issues.jboss.org/browse/JBTM-1107
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>          Components: Compensations
>            Reporter: Tom Jenkinson
>            Assignee: Gytis Trikleris
>             Fix For: 5.next
>
>
> *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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list