[JBoss JIRA] Created: (ISPN-1195) Rehashing and state transfer to use digesting
by Manik Surtani (JIRA)
Rehashing and state transfer to use digesting
---------------------------------------------
Key: ISPN-1195
URL: https://issues.jboss.org/browse/ISPN-1195
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Cache, State transfer
Affects Versions: 5.0.0.FINAL
Reporter: Manik Surtani
Assignee: Dan Berindei
Priority: Critical
Fix For: 5.1.0.BETA1, 5.1.0.Final
Rather than pushing entire state to new joiners, a mechanism of digests should be used to minimise network transfers. For example, Merkle trees can be used to determine which entries are out of date and need pushing, in the case of nodes that persist to a local cache store, and is restarted but still has access to some state on disk.
This would require versioned entries though.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] Created: (ISPN-375) Enable Hot Rod clients to start transactions
by Galder Zamarreno (JIRA)
Enable Hot Rod clients to start transactions
--------------------------------------------
Key: ISPN-375
URL: https://jira.jboss.org/jira/browse/ISPN-375
Project: Infinispan
Issue Type: Feature Request
Components: Cache Server
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 5.1.0.BETA1, 5.1.0.Final
It might be useful to allow Hot Rod clients to start transactions within Hot Rod servers. The possibility of clients participating in the actual transaction, i.e. being an XAResource, should not be imposed since this might be less than trivial to achieve in non-Java environments. The alternative would be to allow clients to start Hot Rod server local transactions only.
This would require enhancing Hot Rod spec to have some begin/commit/rollback commands that return a tx id, and for clients to be able to send this id as part of each command that should participate in the transaction.
Pitfalls to avoid include avoiding a transaction to be propagated over several Hot Rod servers. IOW, to simplify things, if a tx is started in server A, all ops within that tx should be directed to tx. Load balancing could still happen but would need to be tx sticky.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2092) Write skew check not detected in LOCAL mode when doing multiple modifications
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-2092:
-----------------------------------
Summary: Write skew check not detected in LOCAL mode when doing multiple modifications
Key: ISPN-2092
URL: https://issues.jboss.org/browse/ISPN-2092
Project: Infinispan
Issue Type: Bug
Components: Transactions
Affects Versions: 5.1.5.FINAL
Environment: jdk 1.6.0_32, Fedora 16
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Using a local cache with optimistic locking, repeatable read and write skew check, two threads will concurrently execute a transaction that put() the same key. In this case write skew check is properly detected and only one is able to commit. If the two threads modify two keys no write skew check happens and both will commit. It turns out there is an optimization in OptimisticLockingInterceptor for single modification transactions. The write skew check is properly done on this code path but is not done for the code path that handles transactions with multiple modifications. More specifically, LockAcquisitionVisitor.performWriteSkewCheck is not invoked at all. Please have a look at WriteSkewTest.testCheckWriteSkewWithMultipleModifications() in the pull request that demonstrates the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2098) DummyTxTest fails randomly
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-2098:
-----------------------------------
Summary: DummyTxTest fails randomly
Key: ISPN-2098
URL: https://issues.jboss.org/browse/ISPN-2098
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.1.5.FINAL
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Priority: Minor
The test uses multiple threads and does not take into account that some threads might:
1. fail to perform remove() due to an immediate WriteSkewException. I only expected this exception at commit time but it seems for local caches this can also happen immediately.
2. some threads might fail to remove() altogether because the key is already gone and will not get any exception that causes a rollback
See attached log.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2095) Eviction causes lost AtomicMap entries
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-2095:
----------------------------------
Summary: Eviction causes lost AtomicMap entries
Key: ISPN-2095
URL: https://issues.jboss.org/browse/ISPN-2095
Project: Infinispan
Issue Type: Bug
Components: Eviction
Affects Versions: 5.1.5.FINAL
Reporter: Paul Ferraro
Assignee: Manik Surtani
Priority: Blocker
Here's the scenario:
Given 2 nodes with REPL_SYNC cache with passivating cache store (e.g. default web cache in AS7).
1. Create cache entry containing atomic map with 2 map entries on node1.
2. Passivate that cache entry on node2 via manual evict.
3. Modify 1 of the atomic map entries within the cache entry on node1.
4. Lookup atomic map on node2. It only contains 1 map entry - the map entry modified in step 3.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2080) Cache Listener is not notified on cache replace
by William Burns (JIRA)
William Burns created ISPN-2080:
-----------------------------------
Summary: Cache Listener is not notified on cache replace
Key: ISPN-2080
URL: https://issues.jboss.org/browse/ISPN-2080
Project: Infinispan
Issue Type: Bug
Components: Listeners
Affects Versions: 5.1.5.FINAL
Reporter: William Burns
Assignee: Manik Surtani
Previously I have been using put with cache listeners to get remote updates. This works fine, however I changed over to using the concurrent map replace method due to my new value being a composite value and I wanted to make sure to work with asynchronous updates across jvm in a loop. The changes work fine however I am no longer getting CacheModification listener events.
I have attached a test case that tests this and changes that allow for the cache listeners to be notified.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months