[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Description: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition Minimal reproducer: {code} using System.Collections.Generic; using Apache.Ignite.Core; var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("c"); cache.Put(1, new[] { new Entity {Inner = new List()}, new Entity {Inner = new List()} }); cache.Get(1); class Entity { public IList Inner { get; set; } } {code} Works on 2.8.0, fails on 2.9.1. The problem is that IGNITE-12827 has changed the detach semantics for arrays and collections, and this revealed the problem on .NET side: array and collection elements can share handles (same object references), which is a problem, because Java handles every element separately. And the bug occurs because an empty list has {{_items}} initialized to a shared empty array instance. *Workaround*: use {{List}} instead of {{Entity[]}} was: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition Minimal reproducer: {code} using System.Collections.Generic; using Apache.Ignite.Core; var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("c"); cache.Put(1, new[] { new Entity {Inner = new List()}, new Entity {Inner = new List()} }); cache.Get(1); class Entity { public IList Inner { get; set; } } {code} Works on 2.8.0, fails on 2.9.1 *Workaround*: use {{List}} instead of {{Entity[]}} > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Assignee: Pavel Tupitsyn >Priority: Critical > Labels: .NET, 2.9.1-rc > Fix For: 2.11 > > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > Time Spent: 10m > Remaining Estimate: 0h > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > Minimal reproducer: > {code} > using System.Collections.Generic; > using Apache.Ignite.Core; > var ignite = Ignition.Start(); > var cache = ignite.GetOrCreateCache("c"); > cache.Put(1, new[] > { > new Entity {Inner = new List()}, > new Entity {Inner = new List()} > }); > cache.Get(1); > class Entity > { > public IList Inner { get; set; } > } > {code} > Works on 2.8.0, fails on 2.9.1. > The problem is that IGNITE-12827 has changed the detach semantics for arrays > and collections, and this revealed the problem on .NET side: array and > collection elements can share handles (same object references), which is a > problem, because Java handles every element separately. And the bug occurs > because an empty list has {{_items}} initialized to a shared empty array > instance. > *Workaround*: use {{List}} instead of {{Entity[]}} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Description: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition Minimal reproducer: {code} using System.Collections.Generic; using Apache.Ignite.Core; var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("c"); cache.Put(1, new[] { new Entity {Inner = new List()}, new Entity {Inner = new List()} }); cache.Get(1); class Entity { public IList Inner { get; set; } } {code} Works on 2.8.0, fails on 2.9.1 *Workaround*: use {{List}} instead of {{Entity[]}} was: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition Minimal reproducer: {code} using System.Collections.Generic; using Apache.Ignite.Core; var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("c"); cache.Put(1, new[] { new Entity {Inner = new List()}, new Entity {Inner = new List()} }); cache.Get(1); class Entity { public IList Inner { get; set; } } {code} Works on 2.8.0, fails on 2.9.1 > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Assignee: Pavel Tupitsyn >Priority: Critical > Labels: .NET, 2.9.1-rc > Fix For: 2.11 > > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > Minimal reproducer: > {code} > using System.Collections.Generic; > using Apache.Ignite.Core; > var ignite = Ignition.Start(); > var cache = ignite.GetOrCreateCache("c"); > cache.Put(1, new[] > { > new Entity {Inner = new List()}, > new Entity {Inner = new List()} > }); > cache.Get(1); > class Entity > { > public IList Inner { get; set; } > } > {code} > Works on 2.8.0, fails on 2.9.1 > *Workaround*: use {{List}} instead of {{Entity[]}} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Fix Version/s: 2.11 > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Major > Labels: .NET, 2.9.1-rc > Fix For: 2.11 > > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > Minimal reproducer: > {code} > using System.Collections.Generic; > using Apache.Ignite.Core; > var ignite = Ignition.Start(); > var cache = ignite.GetOrCreateCache("c"); > cache.Put(1, new[] > { > new Entity {Inner = new List()}, > new Entity {Inner = new List()} > }); > cache.Get(1); > class Entity > { > public IList Inner { get; set; } > } > {code} > Works on 2.8.0, fails on 2.9.1 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Priority: Critical (was: Major) > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Critical > Labels: .NET, 2.9.1-rc > Fix For: 2.11 > > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > Minimal reproducer: > {code} > using System.Collections.Generic; > using Apache.Ignite.Core; > var ignite = Ignition.Start(); > var cache = ignite.GetOrCreateCache("c"); > cache.Put(1, new[] > { > new Entity {Inner = new List()}, > new Entity {Inner = new List()} > }); > cache.Get(1); > class Entity > { > public IList Inner { get; set; } > } > {code} > Works on 2.8.0, fails on 2.9.1 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Description: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition Minimal reproducer: {code} using System.Collections.Generic; using Apache.Ignite.Core; var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("c"); cache.Put(1, new[] { new Entity {Inner = new List()}, new Entity {Inner = new List()} }); cache.Get(1); class Entity { public IList Inner { get; set; } } {code} Works on 2.8.0, fails on 2.9.1 was: [^exception.txt] contains the stack trace [^stream_dump.txt] contains the stream that fails, dumped using System.Text.Encoding.UTF8.GetString [^BotXEntityDto.cs] contains the dto definition ignite 2.8.1: it works ignite 2.9.0: this works: ICacheClient botXEntityCacheClient = _igniteManager.GetOrCreateCacheClient($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), TimeSpan.FromHours(3), TimeSpan.FromHours(3))); *await botXEntityCacheClient.PutAsync(tenant.Id.Value, tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* and the same key does not work with: ICacheClient botXEntityCacheClient = _igniteManager.GetOrCreateCacheClient($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), TimeSpan.FromHours(3), TimeSpan.FromHours(3))); {color:#ff}*CacheResult cacheResult = await botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Major > Labels: .NET, 2.9.1-rc > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > Minimal reproducer: > {code} > using System.Collections.Generic; > using Apache.Ignite.Core; > var ignite = Ignition.Start(); > var cache = ignite.GetOrCreateCache("c"); > cache.Put(1, new[] > { > new Entity {Inner = new List()}, > new Entity {Inner = new List()} > }); > cache.Get(1); > class Entity > { > public IList Inner { get; set; } > } > {code} > Works on 2.8.0, fails on 2.9.1 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danut Radoaica updated IGNITE-13639: Attachment: ConsoleApp1.zip > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Major > Labels: .NET, 2.9.1-rc > Attachments: BotXEntityDto.cs, ConsoleApp1.zip, exception.txt, > stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > ignite 2.8.1: it works > ignite 2.9.0: > this works: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > *await botXEntityCacheClient.PutAsync(tenant.Id.Value, > tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* > and the same key does not work with: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > {color:#ff}*CacheResult cacheResult = await > botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Muzafarov updated IGNITE-13639: - Fix Version/s: (was: 2.10) > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Assignee: Pavel Tupitsyn >Priority: Major > Labels: .NET, 2.9.1-rc > Attachments: BotXEntityDto.cs, exception.txt, stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > ignite 2.8.1: it works > ignite 2.9.0: > this works: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > *await botXEntityCacheClient.PutAsync(tenant.Id.Value, > tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* > and the same key does not work with: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > {color:#ff}*CacheResult cacheResult = await > botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yaroslav Molochkov updated IGNITE-13639: Fix Version/s: (was: 2.9.1) 2.10 > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Assignee: Pavel Tupitsyn >Priority: Major > Labels: .NET, 2.9.1-rc > Fix For: 2.10 > > Attachments: BotXEntityDto.cs, exception.txt, stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > ignite 2.8.1: it works > ignite 2.9.0: > this works: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > *await botXEntityCacheClient.PutAsync(tenant.Id.Value, > tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* > and the same key does not work with: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > {color:#ff}*CacheResult cacheResult = await > botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Labels: .NET 2.9.1-rc (was: 2.9.1-rc) > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Major > Labels: .NET, 2.9.1-rc > Fix For: 2.9.1 > > Attachments: BotXEntityDto.cs, exception.txt, stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > ignite 2.8.1: it works > ignite 2.9.0: > this works: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > *await botXEntityCacheClient.PutAsync(tenant.Id.Value, > tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* > and the same key does not work with: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > {color:#ff}*CacheResult cacheResult = await > botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-13639) .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.
[ https://issues.apache.org/jira/browse/IGNITE-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-13639: Summary: .NET: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'. (was: No coercion operator is defined between types 'System.Int32' and 'swagger.Models.IndexParameter[]'.) > .NET: No coercion operator is defined between types 'System.Int32' and > 'swagger.Models.IndexParameter[]'. > - > > Key: IGNITE-13639 > URL: https://issues.apache.org/jira/browse/IGNITE-13639 > Project: Ignite > Issue Type: Bug > Components: platforms >Affects Versions: 2.9 > Environment: Apache Ignite: v2.9.0 > JDK: v1.8 > .NET Core: v3.1 >Reporter: Danut Radoaica >Priority: Major > Labels: 2.9.1-rc > Fix For: 2.9.1 > > Attachments: BotXEntityDto.cs, exception.txt, stream_dump.txt > > > [^exception.txt] contains the stack trace > [^stream_dump.txt] contains the stream that fails, dumped using > System.Text.Encoding.UTF8.GetString > [^BotXEntityDto.cs] contains the dto definition > ignite 2.8.1: it works > ignite 2.9.0: > this works: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > *await botXEntityCacheClient.PutAsync(tenant.Id.Value, > tenantBotRelatedEntities.Items.ToArray()).ConfigureAwait(false);* > and the same key does not work with: > ICacheClient botXEntityCacheClient = > _igniteManager.GetOrCreateCacheClient BotXEntityDto[]>($"\{MLConstants.APPLICATION_NAME}#\{nameof(BotXEntityCacheManager)}") > .WithExpiryPolicy(new ExpiryPolicy(TimeSpan.FromHours(3), > TimeSpan.FromHours(3), TimeSpan.FromHours(3))); > {color:#ff}*CacheResult cacheResult = await > botXEntityCacheClient.TryGetAsync(tenantId).ConfigureAwait(false);*{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)