[ 
https://issues.apache.org/jira/browse/IGNITE-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15569108#comment-15569108
 ] 

ASF GitHub Bot commented on IGNITE-4060:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/1157

    IGNITE-4060  RoundRobinLoadBalancingSpi doesn't work after client reconnect.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-4060

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/1157.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1157
    
----

----


> RoundRobinLoadBalancingSpi doesn't work after client reconnect.
> ---------------------------------------------------------------
>
>                 Key: IGNITE-4060
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4060
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>    Affects Versions: 1.7
>            Reporter: Vladimir Ozerov
>            Assignee: Taras Ledkov
>             Fix For: 1.8
>
>         Attachments: RoundRodbinErrorReproducer.java
>
>
> If {{IgntieCompute.apply()}} is called on a client after reconnect, it fails. 
> Reproducer code is attached. The problem is that 
> {{RoundRobinLoadBalancingSpi}} (which is default one) is not notified about 
> topology reset.
> Sample stack trace:
> {code}
> class org.apache.ignite.IgniteException: Task topology does not have alive 
> nodes: [TcpDiscoveryNode [id=50f56f53-bbf6-4d66-bfc5-02d801241e14, 
> addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, 
> intOrder=1, lastExchangeTime=1476269284697, loc=false, 
> ver=1.7.0#19700101-sha1:00000000, isClient=false]]
>       at 
> org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinGlobalLoadBalancer.checkBalancerNodes(RoundRobinGlobalLoadBalancer.java:256)
>       at 
> org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinGlobalLoadBalancer.getBalancedNode(RoundRobinGlobalLoadBalancer.java:201)
>       at 
> org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi.getBalancedNode(RoundRobinLoadBalancingSpi.java:307)
>       at 
> org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager.getBalancedNode(GridLoadBalancerManager.java:81)
>       at 
> org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager$1.getBalancedNode(GridLoadBalancerManager.java:99)
>       at 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$T8.map(GridClosureProcessor.java:1616)
>       at 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$T8.map(GridClosureProcessor.java:1587)
>       at 
> org.apache.ignite.internal.processors.task.GridTaskWorker$2.call(GridTaskWorker.java:519)
>       at 
> org.apache.ignite.internal.processors.task.GridTaskWorker$2.call(GridTaskWorker.java:517)
>       at 
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6509)
>       at 
> org.apache.ignite.internal.processors.task.GridTaskWorker.body(GridTaskWorker.java:516)
>       at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>       at 
> org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:679)
>       at 
> org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:403)
>       at 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor.callAsync(GridClosureProcessor.java:630)
>       at 
> org.apache.ignite.internal.IgniteComputeImpl.apply(IgniteComputeImpl.java:451)
> {code}



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

Reply via email to