[jira] [Created] (IGNITE-9443) IgniteSet iterator created on the client node is not working with the replicated cache.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-9443) IgniteSet iterator created on the client node is not working with the replicated cache.

Anton Vinogradov (Jira)
Pavel Pereslegin created IGNITE-9443:
----------------------------------------

             Summary: IgniteSet iterator created on the client node is not working with the replicated cache.
                 Key: IGNITE-9443
                 URL: https://issues.apache.org/jira/browse/IGNITE-9443
             Project: Ignite
          Issue Type: Bug
          Components: data structures
    Affects Versions: 2.6
            Reporter: Pavel Pereslegin
            Assignee: Pavel Pereslegin


IgniteSet iterator created on the client node is not working with the replicated cache.

Reproducer:
{code:java}
    public void testClientIteratorOnReplicatedCache() throws Exception {
        startGrid(0);

        Ignition.setClientMode(true);

        Ignite client = startGrid(1);

        Ignition.setClientMode(false);

        IgniteSet<Integer> set = client.set("test", new CollectionConfiguration().setCacheMode(CacheMode.REPLICATED));

        set.add(1);

        assertTrue(set.iterator().hasNext());
    }
{code}




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