[jboss-jira] [JBoss JIRA] (WFLY-11181) XAResourceRecoveryServiceConfigurator adds a TX service dependency for non-transactional caches
Brian Stansberry (Jira)
issues at jboss.org
Mon Oct 15 10:51:00 EDT 2018
Brian Stansberry created WFLY-11181:
---------------------------------------
Summary: XAResourceRecoveryServiceConfigurator adds a TX service dependency for non-transactional caches
Key: WFLY-11181
URL: https://issues.jboss.org/browse/WFLY-11181
Project: WildFly
Issue Type: Bug
Components: Clustering
Reporter: Brian Stansberry
Assignee: Brian Stansberry
I _think_ this is wrong...
XAResourceRecoveryServiceConfigurator is installed for all caches, not just ones with the ones with the component=transaction child resource. That's basically ok because its accept and get methods only do things if this.cache.get().getCacheConfiguration().transaction().recovery().enabled(). But, the problem is the service dependency on the XAResourceRecoveryRegistry service the transaction subsystem provides is always added, so even if is wouldn't be used the dependency is added.
I think WFLY-11167 will make it possible to correct this by 1) doing capability checking before adding the service dependency and 2) adding a capability requirement in TransactionResourceDefinition.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list