You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2016/12/28 09:40:58 UTC
[jira] [Resolved] (IGNITE-922) Loop of getOrCreateCache hangs
[ 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)