You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2016/06/16 11:39:05 UTC

[jira] [Closed] (IGNITE-3153) TcpDiscoveryZookeeperIpFinder doesn't properly handle client reconnections

     [ https://issues.apache.org/jira/browse/IGNITE-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Vinogradov closed IGNITE-3153.
------------------------------------

Merged to master

> TcpDiscoveryZookeeperIpFinder doesn't properly handle client reconnections
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-3153
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3153
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.5.0.final
>            Reporter: Valentin Kulichenko
>            Assignee: Anton Vinogradov
>             Fix For: 1.7
>
>
> The exception below is possible when client reconnects and ZooKeeper IP finder is used. Most likely this is caused by the fact that {{initGuard}} is flipped back to {{false}} when the context is destroyed and new curator instance is not created during the reconnect.
> This should be fixed and test coverage for this scenario should be improved.
> {noformat}
>     2016-05-16 12:00:59,096 5786  ERROR org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi Runtime error caught during grid runnable execution: IgniteSpiThread [name=tcp-client-disco-reconnector-#5%Default%] 
>     java.lang.IllegalStateException: Cannot be started more than once
>         at org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:237)
>         ...
>         at org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder.init(TcpDiscoveryZookeeperIpFinder.java:144)
>         at org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder.getRegisteredAddresses(TcpDiscoveryZookeeperIpFinder.java:169)
>         at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.registeredAddresses(TcpDiscoverySpi.java:1603)
>         at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.resolvedAddresses(TcpDiscoverySpi.java:1552)
>         at org.apache.ignite.spi.discovery.tcp.ClientImpl.joinTopology(ClientImpl.java:475)
>         at org.apache.ignite.spi.discovery.tcp.ClientImpl.access$900(ClientImpl.java:118)
>         at org.apache.ignite.spi.discovery.tcp.ClientImpl$Reconnector.body(ClientImpl.java:1175)
>         at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)