[ 
https://issues.apache.org/jira/browse/IGNITE-9709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Daradur updated IGNITE-9709:
---------------------------------------
    Summary: IgniteCache#put|get operations hang on deactivated cluster  (was: 
IgniteCache#Put/Get operations hang on deactivated cluster)

> IgniteCache#put|get operations hang on deactivated cluster
> ----------------------------------------------------------
>
>                 Key: IGNITE-9709
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9709
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Vyacheslav Daradur
>            Priority: Major
>              Labels: cache
>
> {{IgniteCache#put/get}} operations hang on inactive cluster.
> Scenario:
>  # Get instance of {{IgniteCache}} on active cluster;
>  # Deactivate cluster;
>  # Perform put/get operation using instance from step 1;
> {code}
>         IgniteEx ignite = startGrid(0);
>         assertTrue(ignite.cluster().active());
>         IgniteCache cache = ignite.getOrCreateCache("testCache");
>         cache.put("key", "val");
>         ignite.cluster().active(false);
>         assertFalse(ignite.cluster().active());
>         IgniteInternalFuture<Object> fut = GridTestUtils.runAsync(() -> 
> cache.get("key"));
>         ignite.cluster().active(true);
>         assertTrue(ignite.cluster().active());
>         assertNotNull(fut.get(10_000)); // Timeout was reached here
> {code}



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

Reply via email to