You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (Jira)" <ji...@apache.org> on 2021/04/28 20:39:00 UTC

[jira] [Commented] (IGNITE-14655) .NET: Improve DataStreamer API

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

Igor Sapego commented on IGNITE-14655:
--------------------------------------

[~ptupitsyn] looks good to me. Find my comments in PR.

> .NET: Improve DataStreamer API
> ------------------------------
>
>                 Key: IGNITE-14655
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14655
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>             Fix For: 2.11
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, all {{AddData}} methods return a Task, however, this task is not for an individual add/remove operation, but for the current batch.
> This is confusing: users often try to {{await}} the returned task, which is natural; but the task will never complete, because the batch is not yet full, and user code is stuck waiting.
> * Deprecate {{AddData}}, {{RemoveData}} methods
> * Add new {{void Add}} and {{void Remove}} methods
> * Add new {{BatchTask}} property to get the task for the current batch



--
This message was sent by Atlassian Jira
(v8.3.4#803005)