ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-922) Loop of getOrCreateCache hangs
Date Wed, 28 Dec 2016 09:40:58 GMT

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

Alexey Goncharuk resolved IGNITE-922.
-------------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: 1.5.0.final

Cannot reproduce this since 1.5.0.final

> Loop of  getOrCreateCache hangs
> -------------------------------
>
>                 Key: IGNITE-922
>                 URL: https://issues.apache.org/jira/browse/IGNITE-922
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-4, sprint-5
>            Reporter: Sergey Kozlov
>            Assignee: Alexey Goncharuk
>             Fix For: 1.5.0.final
>
>
> 1. Start node by ExampleNodeStartup
> 2. Run following code (I changed CachePutGetExample)
> {code:title=CachePutGetExample.java|borderStyle=solid}
> public static void main(String[] args) throws IgniteException {
>     try (Ignite ignite = Ignition.start("examples/config/example-ignite.xml")) {
>         for (int i=1; i <= 1000; i++) {
>             System.out.println(">>> Iteration " + Integer.toString(i));
>             try (IgniteCache<Integer, String> cache = ignite.getOrCreateCache(CACHE_NAME))
{
>             }
>             IgniteCache<Integer, String> cache = ignite.getOrCreateCache(CACHE_NAME);
>         }
>     }
> }
> {code}
> After 40-50 iterations test program hangs. No errors and warnings on nodes found.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message