[jira] [Created] (IGNITE-6364) .NET: Improve exception message when enumerating entries multiple times in ICacheStore.WriteAll

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6364) .NET: Improve exception message when enumerating entries multiple times in ICacheStore.WriteAll

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-6364:
--------------------------------------

             Summary: .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
             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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)