[
https://issues.jboss.org/browse/ISPN-927?page=com.atlassian.jira.plugin.s...
]
Sudheer Krishna commented on ISPN-927:
--------------------------------------
I have attached the source code. teh source can be attached as maven projects.
The code uses spring and atomikos for transaction management.
cache-framework - custom wrapper around infinispan.
transaction-framework - custom wrapper around atomikos.
testcase - code containing runnable code.
starting node 1 - com.mycompany.testcase.Main -Dapp.name=vm1
-Djgroups.bind_addr=SITE_LOCAL
starting node 2 - com.mycompany.testcase.Vm2 -Dapp.name=vm2
-Djgroups.bind_addr=SITE_LOCAL
Node 1 - creates a cache(testCache) and keeps updating the values inside a transaction.
It has two keys - one simple key which is a string and the other one is a POJO
Node 2- Just access the cache and tries to print the values into the console.
Issue
-----
The infinispan cache xml is inside the resources folder.
When run in distribution mode the updates made by node 1 is not visible to node 2.
changing the mode to replication everything works fine.
Cache inserts inside a transaction are not propagated across the
cluster in distributed mode
--------------------------------------------------------------------------------------------
Key: ISPN-927
URL:
https://issues.jboss.org/browse/ISPN-927
Project: Infinispan
Issue Type: Bug
Components: Distributed Cache
Affects Versions: 4.2.0.Final
Environment: Tested in windows
Reporter: Sudheer Krishna
Assignee: Manik Surtani
Attachments: cache -framework.rar, testcase.rar, transaction-framework.rar
When I try to use transactions and in distributed mode (mode=dist) , changes made inside
the transaction in one node is not reflected in the another node. when i change mode to
replication everything works fine. So i assume this is a bug with dist mode when
transactions is enabled.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira