[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-411) Implement hash distribution headers in Hot Rod

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Fri May 7 03:58:05 EDT 2010


     [ https://jira.jboss.org/jira/browse/ISPN-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno resolved ISPN-411.
-----------------------------------

    Resolution: Done


The functionality is in now. 

As indicated in ISPN-425, due to this bug, HotRodDistributionTest-testDistributedPutWithTopologyChanges randomly fails with: 

java.lang.AssertionError: Retrieved data should have contained ByteArray{size=40, hashCode=123df3b4, array=[118, 54, 45, 116, 101, 115, 116, 68, 105, 115, ..]} (v6-testDistributedPutWithTopologyChanges), but instead we received ByteArray{size=40, hashCode=214ab7c7, array=[118, 53, 45, 116, 101, 115, 116, 68, 105, 115, ..]} (v5-testDistributedPutWithTopologyChanges) expected:<true> but was:<false> 
at org.testng.Assert.fail(Assert.java:87) 
at org.testng.Assert.failNotEquals(Assert.java:441) 
at org.testng.Assert.assertTrue(Assert.java:35) 
at org.infinispan.server.hotrod.test.HotRodTestingUtil$.assertSuccess(HotRodTestingUtil.scala:80) 
at org.infinispan.server.hotrod.HotRodDistributionTest.testDistributedPutWithTopologyChanges(HotRodDistributionTest.scala:79) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:597) 
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644) 
at org.testng.internal.Invoker.invokeMethod(Invoker.java:546) 
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700) 
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002) 
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137) 
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121) 
at org.testng.TestRunner.runWorkers(TestRunner.java:909) 
at org.testng.TestRunner.privateRun(TestRunner.java:618) 
at org.testng.TestRunner.run(TestRunner.java:499) 
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) 
at org.testng.SuiteRunner.access$000(SuiteRunner.java:33) 
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358) 
at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
at java.lang.Thread.run(Thread.java:619)

Here's one of those random failures in hudson:

http://hudson.qa.jboss.com/hudson/view/Infinispan/job/Infinispan-trunk-JDK6-tcp/org.infinispan$infinispan-server-hotrod/1403/testReport/junit/org.infinispan.server.hotrod/HotRodDistributionTest-testDistributedPutWithTopologyChanges/org_infinispan_server_hotrod_HotRodDistributionTest_testDistributedPutWithTopologyChanges/ 



> Implement hash distribution headers in Hot Rod
> ----------------------------------------------
>
>                 Key: ISPN-411
>                 URL: https://jira.jboss.org/jira/browse/ISPN-411
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Cache Server
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.BETA1
>
>
> Implement Hash-Distribution-Aware Client Topology Change headers as per http://community.jboss.org/docs/DOC-14421

-- 
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

        


More information about the infinispan-issues mailing list