You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/09/13 09:02:00 UTC
[jira] [Updated] (IGNITE-6364) .NET: Improve exception message when
enumerating entries multiple times in ICacheStore.WriteAll
[ https://issues.apache.org/jira/browse/IGNITE-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-6364:
-----------------------------------
Description:
{{ICacheStore.WriteAll}} provides lazy {{IEnumerable}} to the user-defined implementation. This enumerable can only be used once. Currently on second enumeration we get {{System.IO.EndOfStreamException Error: "Not enough data in stream [expected=4, remaining=0]"}}, which is not useful.
Provide a meaningful error text.
Alternatively, reset stream to allow multiple enumeration.
was:
{{ICacheStore.WriteAll}} provides lazy {{IEnumerable}} to the user-defined implementation. This enumerable can only be used once. Currently on second enumeration we get {{System.IO.EndOfStreamException Error: "Not enough data in stream [expected=4, remaining=0]"}}, which is not useful.
Provide a meaningful error text.
> .NET: Improve exception message when enumerating entries multiple times in ICacheStore.WriteAll
> -----------------------------------------------------------------------------------------------
>
> Key: IGNITE-6364
> URL: https://issues.apache.org/jira/browse/IGNITE-6364
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Priority: Minor
> Labels: .NET
> Fix For: 2.3
>
>
> {{ICacheStore.WriteAll}} provides lazy {{IEnumerable}} to the user-defined implementation. This enumerable can only be used once. Currently on second enumeration we get {{System.IO.EndOfStreamException Error: "Not enough data in stream [expected=4, remaining=0]"}}, which is not useful.
> Provide a meaningful error text.
> Alternatively, reset stream to allow multiple enumeration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)