]
Ramesh Reddy commented on TEIID-4994:
-------------------------------------
One can not turn off for materialization and keep it for others.
For materialization, use "Ignore return values" option to
improve performance
-----------------------------------------------------------------------------
Key: TEIID-4994
URL:
https://issues.jboss.org/browse/TEIID-4994
Project: Teiid
Issue Type: Enhancement
Components: Infinispan
Affects Versions: 8.12.x-6.4, 9.3.2
Reporter: Van Halbert
Assignee: Ramesh Reddy
Fix For: 10.0
For a performance improvement, change to use Flag.IGNORE_RETURN_VALUES
Cache noPreviousValueCache =
cache.getAdvancedCache().withFlags(Flag.IGNORE_RETURN_VALUES);
noPreviousValueCache.put(k, v);
or can use ConfigurationBuilder settings:
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.unsafe().unreliableReturnValues(true);