[JBoss JIRA] (ISPN-5497) MetadataAPIDefaultExpiryTest.testDefaultLifespanReplaceWithOldValue and MetadataAPIDefaultExpiryTest.testDefaultLifespanPutIfAbsent fail randomly
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5497?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5497:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.1.0.Alpha1
8.1.0.Final
8.0.2.Final
Resolution: Done
> MetadataAPIDefaultExpiryTest.testDefaultLifespanReplaceWithOldValue and MetadataAPIDefaultExpiryTest.testDefaultLifespanPutIfAbsent fail randomly
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-5497
> URL: https://issues.jboss.org/browse/ISPN-5497
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.2.1.Final
> Reporter: Roman Macor
> Assignee: Dan Berindei
> Fix For: 8.1.0.Alpha1, 8.1.0.Final, 8.0.2.Final
>
>
> MetadataAPIDefaultExpiryTest.testDefaultLifespanPutIfAbsent and MetadataAPIDefaultExpiryTest.testDefaultLifespanReplaceWithOldValue fail randomly with assertion error
> org.infinispan.api.MetadataAPIDefaultExpiryTest.testDefaultLifespanReplaceWithOldValue
> Error Message
> expected:<v11> but was:<null>
> Stacktrace
> java.lang.AssertionError: expected:<v11> but was:<null>
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
> at org.infinispan.api.MetadataAPIDefaultExpiryTest.expectCachedThenExpired(MetadataAPIDefaultExpiryTest.java:85)
> at org.infinispan.api.MetadataAPIDefaultExpiryTest.testDefaultLifespanReplaceWithOldValue(MetadataAPIDefaultExpiryTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> 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:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> org.infinispan.api.MetadataAPIDefaultExpiryTest.testDefaultLifespanPutIfAbsent
> Error Message
> expected:<v1> but was:<null>
> Stacktrace
> java.lang.AssertionError: expected:<v1> but was:<null>
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
> at org.infinispan.api.MetadataAPIDefaultExpiryTest.expectCachedThenExpired(MetadataAPIDefaultExpiryTest.java:85)
> at org.infinispan.api.MetadataAPIDefaultExpiryTest.testDefaultLifespanPutIfAbsent(MetadataAPIDefaultExpiryTest.java:57)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> 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:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ISPN-5740) HotRod client write buffer is too large
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5740?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5740:
----------------------------------
Fix Version/s: 8.0.2.Final
> HotRod client write buffer is too large
> ---------------------------------------
>
> Key: ISPN-5740
> URL: https://issues.jboss.org/browse/ISPN-5740
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.0.Alpha1, 8.1.0.Final, 8.0.2.Final
>
>
> The ISPN-1015 fix added a buffer to the HotRod client transport to reduce the number of syscalls. But that buffer's size is not fixed, instead it's based on {{Socket.getSendBufferSize()}}, which in turn is based on the kernel's {{net.core.wmem_max}}.
> JGroups needs {{net.core.wmem_max}} greater or equal than {{UDP.ucast_send_buf_size}}, which is 1MB by default. That is probably too much for the {{TcpTransport}}'s buffer, because the buffer is also duplicated in the OS.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ISPN-5740) HotRod client write buffer is too large
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5740?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5740:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.1.0.Final
Resolution: Done
> HotRod client write buffer is too large
> ---------------------------------------
>
> Key: ISPN-5740
> URL: https://issues.jboss.org/browse/ISPN-5740
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.0.Alpha1, 8.1.0.Final
>
>
> The ISPN-1015 fix added a buffer to the HotRod client transport to reduce the number of syscalls. But that buffer's size is not fixed, instead it's based on {{Socket.getSendBufferSize()}}, which in turn is based on the kernel's {{net.core.wmem_max}}.
> JGroups needs {{net.core.wmem_max}} greater or equal than {{UDP.ucast_send_buf_size}}, which is 1MB by default. That is probably too much for the {{TcpTransport}}'s buffer, because the buffer is also duplicated in the OS.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months