[jboss-jira] [JBoss JIRA] (WFLY-7304) Compensations subsystem
Tomaz Cerar (JIRA)
issues at jboss.org
Thu Oct 20 07:20:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13309739#comment-13309739 ]
Tomaz Cerar commented on WFLY-7304:
-----------------------------------
Having it an optional functionality is just fine. That is an idea of sub resources.
stuff is only enabled if they are added.
transaction subsystem already uses sub resources such as log store.
just look at usages of ResourceDefinition
> Compensations subsystem
> -----------------------
>
> Key: WFLY-7304
> URL: https://issues.jboss.org/browse/WFLY-7304
> Project: WildFly
> Issue Type: Task
> Components: Transactions
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 11.0.0.Alpha1
>
>
> Currently compensations bootstrap happens in the transactions subsystem. It registers deployment processor to scan the annotations and add the dependencies if necessary. This is not expensive and doesn't cause any issues other than adding the dependencies to the transactions subsystem. However, I'm currently finishing off the recovery implementation and more bootstrap logic will be needed. In addition, two more recovery modules will have to be registered: one for the participant (a new one) and one for the coordinator (from XTS). This will require to add XTS dependency too.
> The whole compensations bootstrapping will not need a lot of code. However, I'm thinking maybe it would be good to pull it out to the separate subsystem in order to maintain the separation of concerns.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list