[
https://issues.apache.org/jira/browse/IGNITE-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Kozlov updated IGNITE-922:
---------------------------------
Affects Version/s: sprint-5
> 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
>
> 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)