[jira] [Created] (IGNITE-6081) .NET: Cannot get from cache values which were stored in cache with PutAll.

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

[jira] [Created] (IGNITE-6081) .NET: Cannot get from cache values which were stored in cache with PutAll.

Anton Vinogradov (Jira)
Igor Sapego created IGNITE-6081:
-----------------------------------

             Summary: .NET: Cannot get from cache values which were stored in cache with PutAll.
                 Key: IGNITE-6081
                 URL: https://issues.apache.org/jira/browse/IGNITE-6081
             Project: Ignite
          Issue Type: Bug
          Components: platforms
    Affects Versions: 2.1
            Reporter: Igor Sapego
            Assignee: Pavel Tupitsyn


If you try to put multiple non-primitive values to cache using {{PutAll}}, you'd get an exception on attempt to read those values. Code example below:
{code}
var entries = new Dictionary<long, SomeType>();
for (int i = 0; i < 100; i++)
    entries.Add(i, new SomeType { Id = i });

var cache = Ignition.GetIgnite().GetCache<long, SomeType>("CacheName");
cache .PutAll(entries);

cache.Get(42);
{code}



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