You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (JIRA)" <ji...@apache.org> on 2016/09/14 07:04:20 UTC

[jira] [Commented] (IGNITE-1075) IgniteDataStreamer doesn't throw an exception if there are no data nodes

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

Alexander Belyak commented on IGNITE-1075:
------------------------------------------

addData method calls many times and must be fast, what if I print warning when DataStreamer creating?

> IgniteDataStreamer doesn't throw an exception if there are no data nodes
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-1075
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1075
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.1.4
>            Reporter: Valentin Kulichenko
>            Assignee: Alexander Belyak
>            Priority: Critical
>              Labels: Usability
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> If you call {{addData}} method, but there are no data nodes, you will never know about it. Looks like it is returned in a future, but it's counterintuitive to call it on each operation just to check for exception. Probably we should print out these errors in logs as well.



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