[infinispan-issues] [JBoss JIRA] (ISPN-8902) Client hangs forever when IP address not accessible

Radim Vansa (JIRA) issues at jboss.org
Mon Mar 5 11:15:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541515#comment-13541515 ] 

Radim Vansa commented on ISPN-8902:
-----------------------------------

I can't reproduce this with
{code:java}
package org.infinispan.client.hotrod;

import org.infinispan.client.hotrod.configuration.ConfigurationBuilder;
import org.infinispan.test.AbstractInfinispanTest;
import org.testng.annotations.Test;

@Test(testName = "client.hotrod.UnknownHostsTest", groups = "functional")
public class UnknownHostsTest extends AbstractInfinispanTest {
   public static void testFastFailure() {
      ConfigurationBuilder cfg = new ConfigurationBuilder();
      cfg.addServers("127.0.0.1:11222; 127.0.0.2:11222; 127.0.0.2:11222; 127.0.0.3:11222; 127.0.0.4:11222;");
      RemoteCacheManager cacheContainer = new RemoteCacheManager(cfg.build());
      RemoteCache<String, String> cache = cacheContainer.getCache();
   }
}
{code}

and given the thread dump with KQueue this might be specific to Macs. Awaiting trace logs.

> Client hangs forever when IP address not accessible
> ---------------------------------------------------
>
>                 Key: ISPN-8902
>                 URL: https://issues.jboss.org/browse/ISPN-8902
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 9.2.0.Final
>            Reporter: Galder ZamarreƱo
>            Assignee: Radim Vansa
>             Fix For: 9.2.1.Final
>
>
> Can be replicated with code [here|https://github.com/galderz/jdg-sandbox/blob/master/client/src/main/java/jdg/client/UnknownHosts.java]
> Thread dump is [here|https://gist.github.com/galderz/89b387b9e8b644456c18653e7b3c3c38].



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list