[jira] [Commented] (IGNITE-8423) Control utility may block when joining node is watiting for partition map exchange

2018-05-17 Thread Alexey Goncharuk (JIRA)

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

Alexey Goncharuk commented on IGNITE-8423:
--

[~ascherbakov] agree. Changes look good to me, merged to master.

> Control utility may block when joining node is watiting for partition map 
> exchange
> --
>
> Key: IGNITE-8423
> URL: https://issues.apache.org/jira/browse/IGNITE-8423
> Project: Ignite
>  Issue Type: Bug
>Affects Versions: 2.5
>Reporter: Alexey Goncharuk
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.6
>
>
> The utility hang because {{GridTcpRestNioListener}} is blocked on the 
> following piece of code:
> {code}
> if (marshMapLatch.getCount() > 0)
> U.awaitQuiet(marshMapLatch);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8423) Control utility may block when joining node is watiting for partition map exchange

2018-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8423:


Github user asfgit closed the pull request at:

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


> Control utility may block when joining node is watiting for partition map 
> exchange
> --
>
> Key: IGNITE-8423
> URL: https://issues.apache.org/jira/browse/IGNITE-8423
> Project: Ignite
>  Issue Type: Bug
>Reporter: Alexey Goncharuk
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.6
>
>
> The utility hang because {{GridTcpRestNioListener}} is blocked on the 
> following piece of code:
> {code}
> if (marshMapLatch.getCount() > 0)
> U.awaitQuiet(marshMapLatch);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8423) Control utility may block when joining node is watiting for partition map exchange

2018-05-17 Thread Alexei Scherbakov (JIRA)

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

Alexei Scherbakov commented on IGNITE-8423:
---

[~agoncharuk],

I think this is expected behavior, because kernal is not fully started yet.

Instead I've changed control.sh utility so it now will run task on the same 
node as it was connected to (--host).

Previously a task was forwarded to random node and could happen to arrive on 
joining.


> Control utility may block when joining node is watiting for partition map 
> exchange
> --
>
> Key: IGNITE-8423
> URL: https://issues.apache.org/jira/browse/IGNITE-8423
> Project: Ignite
>  Issue Type: Bug
>Reporter: Alexey Goncharuk
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.6
>
>
> The utility hang because {{GridTcpRestNioListener}} is blocked on the 
> following piece of code:
> {code}
> if (marshMapLatch.getCount() > 0)
> U.awaitQuiet(marshMapLatch);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-8423) Control utility may block when joining node is watiting for partition map exchange

2018-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8423:


GitHub user ascherbakoff opened a pull request:

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

IGNITE-8423 Control utility may block when joining node is watiting f…

…or partition map exchange.

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

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

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

https://github.com/apache/ignite/pull/4018.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 #4018


commit 9962d6a767ccacd34d5cc9375e930a6119efc78f
Author: Aleksei Scherbakov 
Date:   2018-05-17T15:08:45Z

IGNITE-8423 Control utility may block when joining node is watiting for 
partition map exchange.




> Control utility may block when joining node is watiting for partition map 
> exchange
> --
>
> Key: IGNITE-8423
> URL: https://issues.apache.org/jira/browse/IGNITE-8423
> Project: Ignite
>  Issue Type: Bug
>Reporter: Alexey Goncharuk
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.6
>
>
> The utility hang because {{GridTcpRestNioListener}} is blocked on the 
> following piece of code:
> {code}
> if (marshMapLatch.getCount() > 0)
> U.awaitQuiet(marshMapLatch);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)