[infinispan-issues] [JBoss JIRA] (ISPN-5950) Parser sets transaction().useSynchronization to non-default value
Radim Vansa (JIRA)
issues at jboss.org
Wed Nov 11 16:46:00 EST 2015
Radim Vansa created ISPN-5950:
---------------------------------
Summary: Parser sets transaction().useSynchronization to non-default value
Key: ISPN-5950
URL: https://issues.jboss.org/browse/ISPN-5950
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 8.0.1.Final
Reporter: Radim Vansa
Default value for transaction().useSynchronization() is false, so when the configuration is build programmatically, it is set to false. However, if I configure a non-transactional cache in XML and read the configuration, it is set to true.
This complicates testing, when I want to compare programmatic and XML configurations, and generally it is inconsistent.
When doing equals() operation on configurations. transaction-only attributes should not be compared if transactionMode == NONE, since they actually don't matter.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list