ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1094) Ignite.createCache(CacheConfiguration) hangs if some exception occurs during cache initialization
Date Thu, 16 Mar 2017 14:51:42 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928205#comment-15928205
] 

Alexey Kuznetsov commented on IGNITE-1094:
------------------------------------------

[~yzhdanov] As l understand, when we create cache by calling _ignite(0).createCache(...)_
the message with cache config is broadcasted to all nodes at first, and only then the cache
got created().
So, perhaps, we can firstly try create cache and if succeeded , broadcast it to everybody.

> Ignite.createCache(CacheConfiguration) hangs if some exception occurs during cache initialization
> -------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1094
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1094
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Sergey Evdokimov
>            Assignee: Alexey Kuznetsov
>              Labels: Muted_test
>             Fix For: 2.0
>
>
> User can pass broken configuration, for example, store factory that throws exception
from create() method. I created test to demonstrate the problem. See IgniteDynamicCacheStartSelfTest#testBrokenStoreFactory
in 'ignite-1094' branch 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message