[ https://issues.apache.org/jira/browse/IGNITE3373?page=com.atlassian.jira.plugin.system.issuetabpanels:commenttabpanel&focusedCommentId=16658124#comment16658124
]
Dmitriy Govorukhin edited comment on IGNITE3373 at 10/23/18 9:56 PM:

[~AndreyVel] Could you please specify the version or hash commit for this issue? I double
check your reproducer on current master(3bb03444246f863096063d084393676a84d2bc0e) and ignite1.9
(0be92732ec4dcc683b1dbeea6c027c4076579847) branch, and it works fine. (Output result was the
same)
Is it reproduce if run 2 nodes in one JVM?
Node1
{code}
Started node 4d0cc9f0b2854d99ad5c559d0178617d
[local] creating collection [numbers]
[local] size=0, contains=false
[local] Size of the numbers distributed set is 0, and items are []
[local] Is collocated? true
[local] numbers contains 42? false
[affinity] Running on 4d0cc9f0b2854d99ad5c559d0178617d node
[affinity] Size of the numbers distributed set is 0, and items are []
[affinity] Is collocated? true
[affinity] numbers contains 42? false
Waiting 6000 sec...
[10:45:24] Topology snapshot [ver=2, servers=2, clients=0, CPUs=12, heap=14.0GB]
[affinity] Running on 4d0cc9f0b2854d99ad5c559d0178617d node
[affinity] Size of the numbers distributed set is 1, and items are [42]
[affinity] Is collocated? true
[affinity] numbers contains 42? true
{code}
Node2
{code}
Started node a9c53074e25e4bed97e579ba6f78e149
[local] size=1, contains=true > OR
42 > OR
[local] Size of the numbers distributed set is 1, and items are [42]
[local] Is collocated? true
[local] numbers contains 42? true
Waiting 6000 sec...
{code}
was (Author: dmitriygovorukhin):
[~AndreyVel]] Could you please specify the version or hash commit for this issue? I double
check your reproducer on current master(3bb03444246f863096063d084393676a84d2bc0e) and ignite1.9
(0be92732ec4dcc683b1dbeea6c027c4076579847) branch, and it works fine. (Output result was the
same)
Is it reproduce if run 2 nodes in one JVM?
Node1
{code}
Started node 4d0cc9f0b2854d99ad5c559d0178617d
[local] creating collection [numbers]
[local] size=0, contains=false
[local] Size of the numbers distributed set is 0, and items are []
[local] Is collocated? true
[local] numbers contains 42? false
[affinity] Running on 4d0cc9f0b2854d99ad5c559d0178617d node
[affinity] Size of the numbers distributed set is 0, and items are []
[affinity] Is collocated? true
[affinity] numbers contains 42? false
Waiting 6000 sec...
[10:45:24] Topology snapshot [ver=2, servers=2, clients=0, CPUs=12, heap=14.0GB]
[affinity] Running on 4d0cc9f0b2854d99ad5c559d0178617d node
[affinity] Size of the numbers distributed set is 1, and items are [42]
[affinity] Is collocated? true
[affinity] numbers contains 42? true
{code}
Node2
{code}
Started node a9c53074e25e4bed97e579ba6f78e149
[local] size=1, contains=true > OR
42 > OR
[local] Size of the numbers distributed set is 1, and items are [42]
[local] Is collocated? true
[local] numbers contains 42? true
Waiting 6000 sec...
{code}
> Distributed IgniteSet shows size() == 0 for any new node
> 
>
> Key: IGNITE3373
> URL: https://issues.apache.org/jira/browse/IGNITE3373
> Project: Ignite
> Issue Type: Bug
> Reporter: Andrey Velichko
> Assignee: Dmitriy Govorukhin
> Priority: Major
> Attachments: DistributedSetDemo.java
>
>
> For distributed IgniteSet new node shows incorrect size igniteSet.size() == 0, but igniteSet.contains(42L)
== true

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