[JBoss JIRA] (ISPN-6070) Data can be lost when making concurrent updates using READ_COMMITTED and PESSIMISTIC locking
by Richard Lucas (JIRA)
Richard Lucas created ISPN-6070:
-----------------------------------
Summary: Data can be lost when making concurrent updates using READ_COMMITTED and PESSIMISTIC locking
Key: ISPN-6070
URL: https://issues.jboss.org/browse/ISPN-6070
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 7.2.5.Final
Environment: Wildfly 8.2.x and Wildfly 9.x, Java 8
Reporter: Richard Lucas
There appears to be a concurrency issue in Infinispan 7.2.5, when using using PESSIMISTIC READ_COMMITTED locking inside Wildfly.
The issue is that some values that are written and committed by one thread and then read back by the same thread are no longer in the cache when the cache is being modified concurrently. The issues appears to be related to expiration as it does not occur when expiration is disabled. The issue occurs both in Wildfly 8.2.x and 9.x
The issue was first discovered in Modeshape 4.2.5.Final see MODE-2558 for additional information. This example application was provided by [~hchiorean] after he investigated the issue in the Modeshape code base and was able to isolate the problem to Infinispan.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-6069) Unify the continuous query API for remote and embedded mode
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-6069:
-----------------------------------
Summary: Unify the continuous query API for remote and embedded mode
Key: ISPN-6069
URL: https://issues.jboss.org/browse/ISPN-6069
Project: Infinispan
Issue Type: Enhancement
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 8.2.0.Final
The api for registering/unregistering the listener is slightly different in embedded vs remote. The listener interface is identical, but resides in different packages. These need to be unified to ensure a nicer usability.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-6032) InfinispanRemoteCacheManagerFactoryBeanTest.shouldProduceACacheConfiguredUsingPropertiesLoadedFromALocationDeclaredThroughSetConfigurationPropertiesFileLocation/shouldProduceACacheConfiguredUsingTheSuppliedConfigurationProperties fail
by Roman Macor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6032?page=com.atlassian.jira.plugin.... ]
Roman Macor updated ISPN-6032:
------------------------------
Comment: was deleted
(was: SpringRemoteCacheManagerFactoryBeanTest.shouldProduceACacheConfiguredUsingPropertiesLoadedFromALocationDeclaredThroughSetConfigurationPropertiesFileLocation and SpringRemoteCacheManagerFactoryBeanTest.shouldProduceACacheConfiguredUsingTheSuppliedConfigurationProperties
fail with the same error.
)
> InfinispanRemoteCacheManagerFactoryBeanTest.shouldProduceACacheConfiguredUsingPropertiesLoadedFromALocationDeclaredThroughSetConfigurationPropertiesFileLocation/shouldProduceACacheConfiguredUsingTheSuppliedConfigurationProperties fail
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6032
> URL: https://issues.jboss.org/browse/ISPN-6032
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration
> Reporter: Roman Macor
>
> Error Message
> The configuration properties used by the RemoteCacheManager returned by getObject() should be equal to those passed into InfinispanRemoteCacheMangerFactoryBean via setConfigurationPropertiesFileLocation(propsFileLocation). However, those two are not equal. Key infinispan.client.hotrod.ping_on_startup missing from {infinispan.client.hotrod.marshaller=org.infinispan.commons.marshall.jboss.GenericJBossMarshaller, maxIdle=97, maxTotal=98, minEvictableIdleTimeMillis=1800000, infinispan.client.hotrod.connect_timeout=60000, testOnBorrow=false, maxWait=-1, infinispan.client.hotrod.server_list=127.0.0.1:19733, infinispan.client.hotrod.tcp_no_delay=true, testWhileIdle=true, infinispan.client.hotrod.default_executor_factory.queue_size=10000, maxActive=99, infinispan.client.hotrod.async_executor_factory=org.infinispan.client.hotrod.impl.async.DefaultAsyncExecutorFactory, infinispan.client.hotrod.default_executor_factory.pool_size=1, infinispan.client.hotrod.key_size_estimate=64, infinispan.client.hotrod.hash_function_impl.3=org.infinispan.client.hotrod.impl.consistenthash.SegmentConsistentHash, infinispan.client.hotrod.hash_function_impl.2=org.infinispan.client.hotrod.impl.consistenthash.ConsistentHashV2, lifo=true, infinispan.client.hotrod.hash_function_impl.1=org.infinispan.client.hotrod.impl.consistenthash.ConsistentHashV1, infinispan.client.hotrod.max_retries=10, timeBetweenEvictionRunsMillis=120000, infinispan.client.hotrod.socket_timeout=60000, exhaustedAction=1, infinispan.client.hotrod.protocol_version=2.3, infinispan.client.hotrod.tcp_keep_alive=false, infinispan.client.hotrod.value_size_estimate=512, testOnReturn=false, infinispan.client.hotrod.force_return_values=false, infinispan.client.hotrod.transport_factory=org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory, numTestsPerEvictionRun=3, infinispan.client.hotrod.request_balancing_strategy=org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy, minIdle=1}
> Stacktrace
> java.lang.AssertionError: The configuration properties used by the RemoteCacheManager returned by getObject() should be equal to those passed into InfinispanRemoteCacheMangerFactoryBean via setConfigurationPropertiesFileLocation(propsFileLocation). However, those two are not equal. Key infinispan.client.hotrod.ping_on_startup missing from {infinispan.client.hotrod.marshaller=org.infinispan.commons.marshall.jboss.GenericJBossMarshaller, maxIdle=97, maxTotal=98, minEvictableIdleTimeMillis=1800000, infinispan.client.hotrod.connect_timeout=60000, testOnBorrow=false, maxWait=-1, infinispan.client.hotrod.server_list=127.0.0.1:19733, infinispan.client.hotrod.tcp_no_delay=true, testWhileIdle=true, infinispan.client.hotrod.default_executor_factory.queue_size=10000, maxActive=99, infinispan.client.hotrod.async_executor_factory=org.infinispan.client.hotrod.impl.async.DefaultAsyncExecutorFactory, infinispan.client.hotrod.default_executor_factory.pool_size=1, infinispan.client.hotrod.key_size_estimate=64, infinispan.client.hotrod.hash_function_impl.3=org.infinispan.client.hotrod.impl.consistenthash.SegmentConsistentHash, infinispan.client.hotrod.hash_function_impl.2=org.infinispan.client.hotrod.impl.consistenthash.ConsistentHashV2, lifo=true, infinispan.client.hotrod.hash_function_impl.1=org.infinispan.client.hotrod.impl.consistenthash.ConsistentHashV1, infinispan.client.hotrod.max_retries=10, timeBetweenEvictionRunsMillis=120000, infinispan.client.hotrod.socket_timeout=60000, exhaustedAction=1, infinispan.client.hotrod.protocol_version=2.3, infinispan.client.hotrod.tcp_keep_alive=false, infinispan.client.hotrod.value_size_estimate=512, testOnReturn=false, infinispan.client.hotrod.force_return_values=false, infinispan.client.hotrod.transport_factory=org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory, numTestsPerEvictionRun=3, infinispan.client.hotrod.request_balancing_strategy=org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy, minIdle=1}
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
> at org.infinispan.spring.AssertionUtils.assertPropertiesSubset(AssertionUtils.java:11)
> at org.infinispan.spring.support.remote.InfinispanRemoteCacheManagerFactoryBeanTest.shouldProduceACacheConfiguredUsingPropertiesLoadedFromALocationDeclaredThroughSetConfigurationPropertiesFileLocation(InfinispanRemoteCacheManagerFactoryBeanTest.java:205)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years