]
Dan Berindei resolved ISPN-5950.
--------------------------------
Fix Version/s: 9.0.0.Final
Resolution: Done
Fixed with ISPN-6553
Parser sets transaction().useSynchronization to non-default value
-----------------------------------------------------------------
Key: ISPN-5950
URL:
https://issues.redhat.com/browse/ISPN-5950
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 8.0.1.Final
Reporter: Radim Vansa
Priority: Major
Fix For: 9.0.0.Final
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.