Nikolay Izhikov created IGNITE-9172: ---------------------------------------
Summary: IgniteEx.cachex doesn't return existing cache Key: IGNITE-9172 URL: https://issues.apache.org/jira/browse/IGNITE-9172 Project: Ignite Issue Type: Bug Reporter: Nikolay Izhikov {{IgniteEx.cachex}} method doesn't return an existing cache from a client node. Reproducer: {code:java} public class ClientNodeTest extends GridCommonAbstractTest { /** {@inheritDoc} */ @Override protected IgniteConfiguration getConfiguration(String name) throws Exception { IgniteConfiguration cfg = super.getConfiguration(name); cfg.setClientMode(name.equals("client")); if (name.equals("client") || name.equals(GRID_0)) cfg.setCacheConfiguration(new CacheConfiguration("cache-1")); else cfg.setCacheConfiguration(new CacheConfiguration("cache-2")); return cfg; } public void testClient() throws Exception { cleanPersistenceDir(); IgniteEx grid0 = startGrid(GRID_0); IgniteEx grid1 = startGrid(GRID_1); IgniteEx client = startGrid("client"); grid0.cluster().active(true); awaitPartitionMapExchange(); boolean cachex1 = client.cachex("cache-1") != null; boolean cachex2 = client.cachex("cache-2") != null; boolean cache1 = client.cache("cache-2") != null; boolean cache2 = client.cache("cache-2") != null; System.out.println("cachex1 = " + cachex1); System.out.println("cachex2 = " + cachex2); System.out.println("cache1 = " + cache1); System.out.println("cache2 = " + cache2); assertTrue(cachex1); assertTrue(cachex2); assertTrue(cache1); assertTrue(cache2); } } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)