]
Radim Vansa commented on ISPN-7820:
-----------------------------------
[~karesti] Hi Katia, please check this out - I think that the same problem will apply to
compute et al., too.
Uncommitted functional command modifies value
---------------------------------------------
Key: ISPN-7820
URL:
https://issues.jboss.org/browse/ISPN-7820
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core, Transactions
Affects Versions: 9.0.0.Final
Reporter: Radim Vansa
Assignee: Radim Vansa
In transactional mode, functional read write command loads the value into the context
without making a defensive copy. Then, the function is applied directly on that value,
exposing uncommitted changes to all other threads. Rollback is ineffective, the value is
already changed.
There are no tests for rollback in FunctionalTxInMemoryTest.