]
Tristan Tarrant updated ISPN-9438:
----------------------------------
Fix Version/s: 9.4.0.CR2
(was: 9.4.0.Final)
HotRod Transaction Cache - Document the system behavior when
force-return-values=false or true
----------------------------------------------------------------------------------------------
Key: ISPN-9438
URL:
https://issues.jboss.org/browse/ISPN-9438
Project: Infinispan
Issue Type: Task
Components: Remote Protocols, Transactions
Reporter: Diego Lovison
Assignee: Pedro Ruivo
Fix For: 9.4.0.CR2
The topic
http://infinispan.org/docs/stable/user_guide/user_guide.html#hot_rod_tran... does not
mention about the force-return-values on the client configuration.
When it is true, the system will validate the cache version and only one transaction will
commit.
When it is false, the system won't validate the cache version and both transactions
will commit.
It will be nice to have this behavior documented. Also, an example code for each behavior
is welcome:
Here is an example:
A=0 (cache), B=0 (cache)
TX1: write A = 1, write B = 1
TX1: TODO
TX2: TODO
TX1: TODO
TX1: commit
TX2: commit