[JBoss JIRA] (ISPN-7912) Prevent RocksDBStore writes blocking on full expiry queue
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-7912:
----------------------------------
Summary: Prevent RocksDBStore writes blocking on full expiry queue
Key: ISPN-7912
URL: https://issues.jboss.org/browse/ISPN-7912
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Affects Versions: 9.1.0.Alpha1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 9.1.0.Beta1
Currently you can only insert 10000 elements into the rocks db store until you will block a thread until the expiration reaper is ran. Instead we should offer elements to the queue and upon failure utilise the persistence executors to run purge.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 11 months
[JBoss JIRA] (ISPN-6730) EmbeddedCompatContinuousQueryTest.testContinuousQuery fails with CCE
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6730?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6730:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5192
> EmbeddedCompatContinuousQueryTest.testContinuousQuery fails with CCE
> --------------------------------------------------------------------
>
> Key: ISPN-6730
> URL: https://issues.jboss.org/browse/ISPN-6730
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
>
> {code}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=15 returned server error (status=0x85): org.infinispan.remoting.RemoteException: ISPN000217: Received exception from EmbeddedCompatContinuousQueryTest-NodeE-61776, see cause for remote stack trace
> org.infinispan.remoting.RemoteException: ISPN000217: Received exception from EmbeddedCompatContinuousQueryTest-NodeB-35705, see cause for remote stack trace
> org.infinispan.commons.CacheException: Problems invoking command.
> java.lang.ClassCastException: java.lang.Class cannot be cast to org.infinispan.metadata.Metadata
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeaderOrEvent(Codec20.java:215)
> at org.infinispan.client.hotrod.impl.operations.AddClientListenerOperation.executeOperation(AddClientListenerOperation.java:95)
> at org.infinispan.client.hotrod.impl.operations.AddClientListenerOperation.executeOperation(AddClientListenerOperation.java:26)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.addClientListener(RemoteCacheImpl.java:447)
> at org.infinispan.client.hotrod.event.ContinuousQueryImpl.addContinuousQueryListener(ContinuousQueryImpl.java:57)
> at org.infinispan.client.hotrod.event.EmbeddedCompatContinuousQueryTest.testContinuousQuery(EmbeddedCompatContinuousQueryTest.java:189)
> 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:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> 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:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121)
> 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:498)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> 12:09:49,604 ERROR (Client-Listener-3b582f6a4a0f4268) [ClientListenerNotifier] ISPN004043: Unrecoverable error reading event from server localhost/127.0.0.1:15233, exiting event reader thread
> org.infinispan.client.hotrod.exceptions.TransportException:: End of stream reached!
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:210)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147)
> at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 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 org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 11 months
[JBoss JIRA] (ISPN-7911) Functional commands do not invalidate L1 cache
by Radim Vansa (JIRA)
Radim Vansa created ISPN-7911:
---------------------------------
Summary: Functional commands do not invalidate L1 cache
Key: ISPN-7911
URL: https://issues.jboss.org/browse/ISPN-7911
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.1.0.Alpha1
Reporter: Radim Vansa
Assignee: Radim Vansa
SSIA. Test that fails in {{DistSyncFuncTest}} courtesy of [~karesti]:
{code:java}
public void testEvalFromNonOwner() {
initAndTest();
Cache<Object, String> nonOwner = getFirstNonOwner("k1");
FunctionalMapImpl<Object, String> objectStringFunctionalMap = FunctionalMapImpl.create(nonOwner.getAdvancedCache());
FunctionalMap.ReadWriteMap<Object, String> functionalMap = ReadWriteMapImpl.create(objectStringFunctionalMap);
SerializableFunction<EntryView.ReadWriteEntryView<Object, String>, Void> func = v -> {
v.set("value2");
return null;
};
try {
functionalMap.eval("k1", func).get();
assertOnAllCachesAndOwnership("k1", "value2");
} catch (InterruptedException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 12 months
[JBoss JIRA] (ISPN-7909) Listener Internal API should be async friendly
by William Burns (JIRA)
William Burns created ISPN-7909:
-----------------------------------
Summary: Listener Internal API should be async friendly
Key: ISPN-7909
URL: https://issues.jboss.org/browse/ISPN-7909
Project: Infinispan
Issue Type: Enhancement
Components: Listeners
Reporter: William Burns
Currently listeners that are not defined as async will block callers. This causes the async interceptor chain issues as a method that should be async will in most cases become async. We need to change the CacheNotifier interface to allow callers to be notified of completion.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 12 months