You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Pereslegin (JIRA)" <ji...@apache.org> on 2018/08/31 09:08:00 UTC

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

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)