[infinispan-issues] [JBoss JIRA] (ISPN-1929) No retry on SuspectedException in Hot Rod client
Michal Linhard (JIRA)
jira-events at lists.jboss.org
Mon Mar 19 14:25:47 EDT 2012
[ https://issues.jboss.org/browse/ISPN-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677767#comment-12677767 ]
Michal Linhard commented on ISPN-1929:
--------------------------------------
And this prevents Hot Rod client to failover without errors being rethrown at the user's code.
> No retry on SuspectedException in Hot Rod client
> ------------------------------------------------
>
> Key: ISPN-1929
> URL: https://issues.jboss.org/browse/ISPN-1929
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.1.2.FINAL
> Reporter: Michal Linhard
> Assignee: Manik Surtani
>
> In a resiliency/failover tests I'm getting this on client side:
> {code}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[825139] returned server error (status=0x85): org.infinispan.CacheException: SuspectedException
> at org.infinispan.client.hotrod.impl.protocol.Codec10.checkForErrorsInResponseStatus(Codec10.java:154)
> at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:109)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:78)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:72)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:52)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:41)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:68)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:219)
> at org.infinispan.CacheSupport.put(CacheSupport.java:52)
> at org.jboss.qa.edg.adapter.HotRodAdapter$HotRodRemoteCacheAdapter.put(HotRodAdapter.java:249)
> at org.jboss.qa.edg.adapter.HotRodAdapter$HotRodRemoteCacheAdapter.put(HotRodAdapter.java:234)
> at org.jboss.smartfrog.edg.loaddriver.DriverNodeImpl$ClientThread.makeRequest(DriverNodeImpl.java:244)
> at org.jboss.smartfrog.edg.loaddriver.DriverNodeImpl$ClientThread.run(DriverNodeImpl.java:375)
> {code}
> problem being
> https://github.com/infinispan/infinispan/blob/master/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/impl/protocol/Codec10.java#L145
> where we expect "SuspectException" instead of "SuspectedException"
--
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
More information about the infinispan-issues
mailing list